summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_history.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-09 01:15:49 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-09 01:15:49 +0200
commit00658a93f1d26ccb7ba5f10f31055531564a6523 (patch)
tree3a55a55d3f909e9cd9770b376714bd0c9a420fc2 /src/backend/taler-merchant-httpd_history.c
parent549fec36b9d28d1b49d26ffcbb099f41f42b8ce6 (diff)
downloadmerchant-00658a93f1d26ccb7ba5f10f31055531564a6523.tar.gz
merchant-00658a93f1d26ccb7ba5f10f31055531564a6523.tar.bz2
merchant-00658a93f1d26ccb7ba5f10f31055531564a6523.zip
make code compile without warnings against latest libmicrohttpd API
Diffstat (limited to 'src/backend/taler-merchant-httpd_history.c')
-rw-r--r--src/backend/taler-merchant-httpd_history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/taler-merchant-httpd_history.c b/src/backend/taler-merchant-httpd_history.c
index fafb51d9..dd353208 100644
--- a/src/backend/taler-merchant-httpd_history.c
+++ b/src/backend/taler-merchant-httpd_history.c
@@ -124,7 +124,7 @@ pd_cb (void *cls,
* @param mi merchant backend instance, never NULL
* @return MHD result code
*/
-int
+MHD_RESULT
MH_handler_history (struct TMH_RequestHandler *rh,
struct MHD_Connection *connection,
void **connection_cls,
@@ -136,7 +136,7 @@ MH_handler_history (struct TMH_RequestHandler *rh,
const char *str;
struct GNUNET_TIME_Absolute date;
json_t *response;
- int ret;
+ MHD_RESULT ret;
unsigned int ascending = GNUNET_NO;
unsigned long long seconds;
unsigned long long start = INT64_MAX;