summaryrefslogtreecommitdiff
path: root/src/mhd/mhd_legal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-09 00:59:55 +0200
commit543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 (patch)
tree81e9bf344e28225ccf425311519738c7fe3b0300 /src/mhd/mhd_legal.c
parent84a40be0bce66cda800de7891f758a0c69afc7fa (diff)
downloadexchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.tar.gz
exchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.tar.bz2
exchange-543fe4ae36649cf64eabb1b1447539bfb0c3c7c2.zip
make code compiler without warnings with latest libmicrohttpd API
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r--src/mhd/mhd_legal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
index 7b1ba1c11..b7859da1c 100644
--- a/src/mhd/mhd_legal.c
+++ b/src/mhd/mhd_legal.c
@@ -155,7 +155,7 @@ language_matches (const char *language_pattern,
* @param legal legal document to serve
* @return MHD result code
*/
-int
+MHD_RESULT
TALER_MHD_reply_legal (struct MHD_Connection *conn,
struct TALER_MHD_Legal *legal)
{
@@ -174,7 +174,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
(0 == strcasecmp (etag,
legal->terms_etag)) )
{
- int ret;
+ MHD_RESULT ret;
resp = MHD_create_response_from_buffer (0,
NULL,
@@ -292,7 +292,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
MHD_HTTP_HEADER_CONTENT_TYPE,
t->mime_type));
{
- int ret;
+ MHD_RESULT ret;
ret = MHD_queue_response (conn,
MHD_HTTP_OK,