From f43704dbef095393767f9e707e9a8775d8a6dd52 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Mon, 4 Jul 2016 13:26:32 +0000 Subject: [PATCH] Add explicit 'return true;' for Transaction::extractArguments() Unbreaks runtime for FreeBSD 10 (clang generated code) --- src/transaction.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/transaction.cc b/src/transaction.cc index 1f6a6f5d..8609af55 100644 --- a/src/transaction.cc +++ b/src/transaction.cc @@ -290,6 +290,8 @@ bool Transaction::extractArguments(const std::string &orig, free(key_c); free(value_c); } + + return true; } @@ -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.