summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/taler_mhd_lib.h2
-rw-r--r--src/mhd/mhd_responses.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/taler_mhd_lib.h b/src/include/taler_mhd_lib.h
index 979f8385..17783f1c 100644
--- a/src/include/taler_mhd_lib.h
+++ b/src/include/taler_mhd_lib.h
@@ -183,7 +183,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
unsigned int http_status,
const char *mime_type,
const char *body,
- size_t *body_size);
+ size_t body_size);
/**
diff --git a/src/mhd/mhd_responses.c b/src/mhd/mhd_responses.c
index 223381f3..e1609d99 100644
--- a/src/mhd/mhd_responses.c
+++ b/src/mhd/mhd_responses.c
@@ -380,7 +380,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
unsigned int http_status,
const char *mime_type,
const char *body,
- size_t *body_size)
+ size_t body_size)
{
struct MHD_Response *response;
int ret;
@@ -393,7 +393,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
GNUNET_break (0);
return MHD_NO;
}
- TEH_RESPONSE_add_global_headers (response);
+ TALER_MHD_add_global_headers (response);
if (NULL != mime_type)
GNUNET_break (MHD_YES ==
MHD_add_response_header (response,