mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +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:
committed by
Felipe Zimmerle
parent
56baef5f1f
commit
bce5ef7704
@@ -318,7 +318,7 @@ class Transaction : public TransactionAnchoredVariables {
|
|||||||
size_t offset);
|
size_t offset);
|
||||||
|
|
||||||
const char *getResponseBody();
|
const char *getResponseBody();
|
||||||
int getResponseBodyLenth();
|
int getResponseBodyLength();
|
||||||
|
|
||||||
#ifndef NO_LOGS
|
#ifndef NO_LOGS
|
||||||
void debug(int, std::string);
|
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.
|
* @brief Retrieve the length of the updated response body.
|
||||||
*
|
*
|
||||||
* This method returns the size of the update response body buffer, notice
|
* 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.
|
* @retval >0 the size of the updated buffer.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
int Transaction::getResponseBodyLenth() {
|
int Transaction::getResponseBodyLength() {
|
||||||
int size = 0;
|
int size = 0;
|
||||||
#if 0
|
#if 0
|
||||||
int there_is_update = this->rules->loadResponseBodyFromJS(this);
|
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) {
|
extern "C" int msc_get_response_body_length(Transaction *transaction) {
|
||||||
return transaction->getResponseBodyLenth();
|
return transaction->getResponseBodyLength();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user