summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-23 17:48:45 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-23 17:48:45 +0100
commitc693ec4a3ea797618bee867244f8affe034028b9 (patch)
tree7e6979a4c5c6b2947eb60b5c40eb73242d8be489
parent0c85d195f8c0fe8363ae234fe962636fca8a77ea (diff)
downloadexchange-c693ec4a3ea797618bee867244f8affe034028b9.tar.gz
exchange-c693ec4a3ea797618bee867244f8affe034028b9.tar.bz2
exchange-c693ec4a3ea797618bee867244f8affe034028b9.zip
fix warnings
-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,