aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/mint_api_handle.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-30 21:26:16 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-30 21:26:16 +0200
commit68bf92de2c1d754a04663236a4106e2c5635ebc4 (patch)
tree90ae4ff6e9e95a3f9adc9f3bccbb545403a04337 /src/mint-lib/mint_api_handle.c
parentde430aa4646312b0f68b4e03fb1c8f557ef99c2b (diff)
fix ftbfs
Diffstat (limited to 'src/mint-lib/mint_api_handle.c')
-rw-r--r--src/mint-lib/mint_api_handle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mint-lib/mint_api_handle.c b/src/mint-lib/mint_api_handle.c
index 6bcae9f60..918a0abf4 100644
--- a/src/mint-lib/mint_api_handle.c
+++ b/src/mint-lib/mint_api_handle.c
@@ -24,6 +24,7 @@
#include <curl/curl.h>
#include <jansson.h>
#include <gnunet/gnunet_util_lib.h>
+#include <microhttpd.h>
#include "taler_mint_service.h"
#include "taler_signatures.h"
#include "mint_api_context.h"
@@ -588,7 +589,7 @@ keys_completed_cb (void *cls,
}
switch (response_code) {
case 0:
- kr->errno = 1;
+ kr->eno = 1;
break;
case MHD_HTTP_OK:
break;
@@ -596,7 +597,7 @@ keys_completed_cb (void *cls,
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Mint returned status code %u for /keys\n",
response_code);
- kr->errno = 1;
+ kr->eno = 1;
break;
}