aboutsummaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_mhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditor/taler-auditor-httpd_mhd.c')
-rw-r--r--src/auditor/taler-auditor-httpd_mhd.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/auditor/taler-auditor-httpd_mhd.c b/src/auditor/taler-auditor-httpd_mhd.c
index b8fc65afd..5f13691f5 100644
--- a/src/auditor/taler-auditor-httpd_mhd.c
+++ b/src/auditor/taler-auditor-httpd_mhd.c
@@ -45,10 +45,10 @@
45 */ 45 */
46int 46int
47TAH_MHD_handler_static_response (struct TAH_RequestHandler *rh, 47TAH_MHD_handler_static_response (struct TAH_RequestHandler *rh,
48 struct MHD_Connection *connection, 48 struct MHD_Connection *connection,
49 void **connection_cls, 49 void **connection_cls,
50 const char *upload_data, 50 const char *upload_data,
51 size_t *upload_data_size) 51 size_t *upload_data_size)
52{ 52{
53 struct MHD_Response *response; 53 struct MHD_Response *response;
54 int ret; 54 int ret;
@@ -142,16 +142,16 @@ TAH_MHD_handler_agpl_redirect (struct TAH_RequestHandler *rh,
142 */ 142 */
143int 143int
144TAH_MHD_handler_send_json_pack_error (struct TAH_RequestHandler *rh, 144TAH_MHD_handler_send_json_pack_error (struct TAH_RequestHandler *rh,
145 struct MHD_Connection *connection, 145 struct MHD_Connection *connection,
146 void **connection_cls, 146 void **connection_cls,
147 const char *upload_data, 147 const char *upload_data,
148 size_t *upload_data_size) 148 size_t *upload_data_size)
149{ 149{
150 return TAH_RESPONSE_reply_json_pack (connection, 150 return TAH_RESPONSE_reply_json_pack (connection,
151 rh->response_code, 151 rh->response_code,
152 "{s:s}", 152 "{s:s}",
153 "error", 153 "error",
154 rh->data); 154 rh->data);
155} 155}
156 156
157 157