fix warnings

This commit is contained in:
Christian Grothoff 2019-11-23 17:48:45 +01:00
parent 0c85d195f8
commit c693ec4a3e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
unsigned int http_status, unsigned int http_status,
const char *mime_type, const char *mime_type,
const char *body, const char *body,
size_t *body_size); size_t body_size);
/** /**

View File

@ -380,7 +380,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
unsigned int http_status, unsigned int http_status,
const char *mime_type, const char *mime_type,
const char *body, const char *body,
size_t *body_size) size_t body_size)
{ {
struct MHD_Response *response; struct MHD_Response *response;
int ret; int ret;
@ -393,7 +393,7 @@ TALER_MHD_reply_static (struct MHD_Connection *connection,
GNUNET_break (0); GNUNET_break (0);
return MHD_NO; return MHD_NO;
} }
TEH_RESPONSE_add_global_headers (response); TALER_MHD_add_global_headers (response);
if (NULL != mime_type) if (NULL != mime_type)
GNUNET_break (MHD_YES == GNUNET_break (MHD_YES ==
MHD_add_response_header (response, MHD_add_response_header (response,