aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.c')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.c b/src/exchange/taler-exchange-httpd_mhd.c
index dfea44adb..95e51c8ed 100644
--- a/src/exchange/taler-exchange-httpd_mhd.c
+++ b/src/exchange/taler-exchange-httpd_mhd.c
@@ -53,6 +53,9 @@ TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh,
53 struct MHD_Response *response; 53 struct MHD_Response *response;
54 int ret; 54 int ret;
55 55
56 (void) connection_cls;
57 (void) upload_data;
58 (void) upload_data_size;
56 if (0 == rh->data_size) 59 if (0 == rh->data_size)
57 rh->data_size = strlen ((const char *) rh->data); 60 rh->data_size = strlen ((const char *) rh->data);
58 response = MHD_create_response_from_buffer (rh->data_size, 61 response = MHD_create_response_from_buffer (rh->data_size,
@@ -99,6 +102,9 @@ TEH_MHD_handler_agpl_redirect (struct TEH_RequestHandler *rh,
99 struct MHD_Response *response; 102 struct MHD_Response *response;
100 int ret; 103 int ret;
101 104
105 (void) connection_cls;
106 (void) upload_data;
107 (void) upload_data_size;
102 response = MHD_create_response_from_buffer (strlen (agpl), 108 response = MHD_create_response_from_buffer (strlen (agpl),
103 (void *) agpl, 109 (void *) agpl,
104 MHD_RESPMEM_PERSISTENT); 110 MHD_RESPMEM_PERSISTENT);
@@ -147,6 +153,9 @@ TEH_MHD_handler_send_json_pack_error (struct TEH_RequestHandler *rh,
147 const char *upload_data, 153 const char *upload_data,
148 size_t *upload_data_size) 154 size_t *upload_data_size)
149{ 155{
156 (void) connection_cls;
157 (void) upload_data;
158 (void) upload_data_size;
150 return TEH_RESPONSE_reply_json_pack (connection, 159 return TEH_RESPONSE_reply_json_pack (connection,
151 rh->response_code, 160 rh->response_code,
152 "{s:s}", 161 "{s:s}",