summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/auditor/taler-auditor-httpd_parsing.c1
-rw-r--r--src/bank-lib/fakebank.c10
-rw-r--r--src/exchange/taler-exchange-httpd_parsing.c1
3 files changed, 8 insertions, 4 deletions
diff --git a/src/auditor/taler-auditor-httpd_parsing.c b/src/auditor/taler-auditor-httpd_parsing.c
index ebbe50eee..6c4bece94 100644
--- a/src/auditor/taler-auditor-httpd_parsing.c
+++ b/src/auditor/taler-auditor-httpd_parsing.c
@@ -70,6 +70,7 @@ TAH_PARSE_post_json (struct MHD_Connection *connection,
enum GNUNET_JSON_PostResult pr;
pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX,
+ connection,
con_cls,
upload_data,
upload_data_size,
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 27cf6b8b9..71dd8bace 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -397,6 +397,7 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h,
uint64_t row_id;
pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX,
+ connection,
con_cls,
upload_data,
upload_data_size,
@@ -523,6 +524,7 @@ handle_reject (struct TALER_FAKEBANK_Handle *h,
int found;
pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX,
+ connection,
con_cls,
upload_data,
upload_data_size,
@@ -604,7 +606,7 @@ handle_home_page (struct TALER_FAKEBANK_Handle *h,
int ret;
struct MHD_Response *resp;
#define HELLOMSG "Hello, Fakebank!"
-
+
resp = MHD_create_response_from_buffer
(strlen (HELLOMSG),
HELLOMSG,
@@ -721,8 +723,8 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h,
struct HistoryRangeDates hrd;
const char *start;
const char *end;
- long long unsigned int start_stamp;
- long long unsigned int end_stamp;
+ long long unsigned int start_stamp;
+ long long unsigned int end_stamp;
struct Transaction *pos;
if (GNUNET_OK != TFH_parse_history_common_args (connection,
@@ -760,7 +762,7 @@ handle_history_range (struct TALER_FAKEBANK_Handle *h,
pos = pos->next)
{
if (hrd.start.abs_value_us <= pos->date.abs_value_us)
- break;
+ break;
}
return TFH_build_history_response (connection,
pos,
diff --git a/src/exchange/taler-exchange-httpd_parsing.c b/src/exchange/taler-exchange-httpd_parsing.c
index 4d7b5ab60..2a9f7a5a7 100644
--- a/src/exchange/taler-exchange-httpd_parsing.c
+++ b/src/exchange/taler-exchange-httpd_parsing.c
@@ -70,6 +70,7 @@ TEH_PARSE_post_json (struct MHD_Connection *connection,
enum GNUNET_JSON_PostResult pr;
pr = GNUNET_JSON_post_parser (REQUEST_BUFFER_MAX,
+ connection,
con_cls,
upload_data,
upload_data_size,