aboutsummaryrefslogtreecommitdiff
path: root/src/mint-lib/mint_api_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-26 09:03:18 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-26 09:03:18 +0200
commitd98eabf6c30d589bffaf7a1dba4df51c26d56c74 (patch)
tree49f76f4676d221829da001664465f1d366133c11 /src/mint-lib/mint_api_withdraw.c
parent47262f4316874f321ffdcbcdcb1d98c182375730 (diff)
handle response code 0 more nicely
Diffstat (limited to 'src/mint-lib/mint_api_withdraw.c')
-rw-r--r--src/mint-lib/mint_api_withdraw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mint-lib/mint_api_withdraw.c b/src/mint-lib/mint_api_withdraw.c
index b877cf4d3..c79f57dad 100644
--- a/src/mint-lib/mint_api_withdraw.c
+++ b/src/mint-lib/mint_api_withdraw.c
@@ -324,6 +324,8 @@ handle_withdraw_status_finished (void *cls,
}
switch (response_code)
{
+ case 0:
+ break;
case MHD_HTTP_OK:
{
json_t *history;
@@ -818,6 +820,8 @@ handle_withdraw_sign_finished (void *cls,
}
switch (response_code)
{
+ case 0:
+ break;
case MHD_HTTP_OK:
if (GNUNET_OK !=
withdraw_sign_ok (wsh,