summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_mhd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-23 21:03:05 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-23 21:03:05 +0100
commitcf6ba0c77196b77f5c54f0533ac1be3d1d5ee6d6 (patch)
tree542a985a04cc8a0e8edd3ef33438590cfd2e64ad /src/exchange/taler-exchange-httpd_mhd.c
parent7c11a822ba9ebce8a0dfe04510945ad36c0a0c71 (diff)
downloadexchange-cf6ba0c77196b77f5c54f0533ac1be3d1d5ee6d6.tar.gz
exchange-cf6ba0c77196b77f5c54f0533ac1be3d1d5ee6d6.tar.bz2
exchange-cf6ba0c77196b77f5c54f0533ac1be3d1d5ee6d6.zip
more refactoring for libtalermhd
Diffstat (limited to 'src/exchange/taler-exchange-httpd_mhd.c')
-rw-r--r--src/exchange/taler-exchange-httpd_mhd.c12
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 36d10bae3..825a1b310 100644
--- a/src/exchange/taler-exchange-httpd_mhd.c
+++ b/src/exchange/taler-exchange-httpd_mhd.c
@@ -67,7 +67,7 @@ TEH_MHD_handler_static_response (struct TEH_RequestHandler *rh,
GNUNET_break (0);
return MHD_NO;
}
- TEH_RESPONSE_add_global_headers (response);
+ TALER_MHD_add_global_headers (response);
if (NULL != rh->mime_type)
(void) MHD_add_response_header (response,
MHD_HTTP_HEADER_CONTENT_TYPE,
@@ -128,11 +128,11 @@ TEH_MHD_handler_send_json_pack_error (struct TEH_RequestHandler *rh,
(void) connection_cls;
(void) upload_data;
(void) upload_data_size;
- return TEH_RESPONSE_reply_json_pack (connection,
- rh->response_code,
- "{s:s}",
- "error",
- rh->data);
+ return TALER_MHD_reply_json_pack (connection,
+ rh->response_code,
+ "{s:s}",
+ "error",
+ rh->data);
}