diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-30 23:19:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-30 23:19:18 +0200 |
commit | f1a71f180c7bac551c8d4de2531172be561d5103 (patch) | |
tree | 503ea74dedb00890fd94d51715909d135e20682e /src/exchange/taler-exchange-httpd_mhd.c | |
parent | f00a49e40c035e5345ef90b8fae134467454c97b (diff) | |
download | exchange-f1a71f180c7bac551c8d4de2531172be561d5103.tar.gz exchange-f1a71f180c7bac551c8d4de2531172be561d5103.tar.bz2 exchange-f1a71f180c7bac551c8d4de2531172be561d5103.zip |
mint->exchange leftovers
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_mhd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/exchange/taler-exchange-httpd_mhd.c b/src/exchange/taler-exchange-httpd_mhd.c index 88debdd07..62db5a86f 100644 --- a/src/exchange/taler-exchange-httpd_mhd.c +++ b/src/exchange/taler-exchange-httpd_mhd.c @@ -44,7 +44,7 @@ * @return MHD result code */ int -TMH_MHD_handler_static_response (struct TMH_RequestHandler *rh, +TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh, struct MHD_Connection *connection, void **connection_cls, const char *upload_data, @@ -63,7 +63,7 @@ TMH_MHD_handler_static_response (struct TMH_RequestHandler *rh, GNUNET_break (0); return MHD_NO; } - TMH_RESPONSE_add_global_headers (response); + TEH_RESPONSE_add_global_headers (response); if (NULL != rh->mime_type) (void) MHD_add_response_header (response, MHD_HTTP_HEADER_CONTENT_TYPE, @@ -88,7 +88,7 @@ TMH_MHD_handler_static_response (struct TMH_RequestHandler *rh, * @return MHD result code */ int -TMH_MHD_handler_agpl_redirect (struct TMH_RequestHandler *rh, +TEH_MHD_handler_agpl_redirect (struct TEH_RequestHandler *rh, struct MHD_Connection *connection, void **connection_cls, const char *upload_data, @@ -107,7 +107,7 @@ TMH_MHD_handler_agpl_redirect (struct TMH_RequestHandler *rh, GNUNET_break (0); return MHD_NO; } - TMH_RESPONSE_add_global_headers (response); + TEH_RESPONSE_add_global_headers (response); if (NULL != rh->mime_type) (void) MHD_add_response_header (response, MHD_HTTP_HEADER_CONTENT_TYPE, @@ -135,13 +135,13 @@ TMH_MHD_handler_agpl_redirect (struct TMH_RequestHandler *rh, * @return MHD result code */ int -TMH_MHD_handler_send_json_pack_error (struct TMH_RequestHandler *rh, +TEH_MHD_handler_send_json_pack_error (struct TEH_RequestHandler *rh, struct MHD_Connection *connection, void **connection_cls, const char *upload_data, size_t *upload_data_size) { - return TMH_RESPONSE_reply_json_pack (connection, + return TEH_RESPONSE_reply_json_pack (connection, rh->response_code, "{s:s}", "error", |