mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Add the missing g in Transaction::GetReponseBodyLenth()
This commit fixes a typo in the method name for retrieving the body length.
This commit is contained in:
parent
56baef5f1f
commit
bce5ef7704
@ -318,7 +318,7 @@ class Transaction : public TransactionAnchoredVariables {
|
||||
size_t offset);
|
||||
|
||||
const char *getResponseBody();
|
||||
int getResponseBodyLenth();
|
||||
int getResponseBodyLength();
|
||||
|
||||
#ifndef NO_LOGS
|
||||
void debug(int, std::string);
|
||||
|
@ -1189,7 +1189,7 @@ const char *Transaction::getResponseBody() {
|
||||
|
||||
|
||||
/**
|
||||
* @name getResponseBodyLenth
|
||||
* @name getResponseBodyLength
|
||||
* @brief Retrieve the length of the updated response body.
|
||||
*
|
||||
* This method returns the size of the update response body buffer, notice
|
||||
@ -1202,7 +1202,7 @@ const char *Transaction::getResponseBody() {
|
||||
* @retval >0 the size of the updated buffer.
|
||||
*
|
||||
*/
|
||||
int Transaction::getResponseBodyLenth() {
|
||||
int Transaction::getResponseBodyLength() {
|
||||
int size = 0;
|
||||
#if 0
|
||||
int there_is_update = this->rules->loadResponseBodyFromJS(this);
|
||||
@ -2097,7 +2097,7 @@ extern "C" const char *msc_get_response_body(Transaction *transaction) {
|
||||
*
|
||||
*/
|
||||
extern "C" int msc_get_response_body_length(Transaction *transaction) {
|
||||
return transaction->getResponseBodyLenth();
|
||||
return transaction->getResponseBodyLength();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user