Skip to content
6 changes: 3 additions & 3 deletions src/actions/allow.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ class Allow : public Action {
static std::string allowTypeToName (AllowType a) {
if (a == NoneAllowType) {
return "None";
} else if (a = RequestAllowType) {
} else if (a == RequestAllowType) {
return "Request";
} else if (a = PhaseAllowType) {
} else if (a == PhaseAllowType) {
return "Phase";
} else if (a = FromNowOneAllowType) {
} else if (a == FromNowOneAllowType) {
return "FromNowOne";
} else {
return "Unknown";
Expand Down
4 changes: 3 additions & 1 deletion src/transaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ bool Transaction::extractArguments(const std::string &orig,
free(key_c);
free(value_c);
}

return true;
}


Expand Down Expand Up @@ -1740,7 +1742,7 @@ extern "C" int msc_request_body_from_file(Transaction *transaction,

/**
* @name msc_process_response_headers
* @brief Perform the analysis on the response readers.
* @brief Perform the analysis on the response headers.
*
* This function perform the analysis on the response headers, notice however
* that the headers should be added prior to the execution of this function.
Expand Down