commit c693ec4a3ea797618bee867244f8affe034028b9
parent 0c85d195f8c0fe8363ae234fe962636fca8a77ea
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 23 Nov 2019 17:48:45 +0100
fix warnings
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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
@@ -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,