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:
Lasse Karstensen
2017-07-28 10:57:59 +02:00
committed by Felipe Zimmerle
parent 56baef5f1f
commit bce5ef7704
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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();
} }
/** /**