summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-24 23:09:06 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-24 23:09:06 +0100
commit2fdc21f7d7367b13f21bddee4fbe86e0f91c9b55 (patch)
tree73edaa3b891f00e33e28ea9d620e167d7dcccb68 /src/lib
parent8d786441b88bb0acb02d6c7ec668d9233581ddcc (diff)
downloadexchange-2fdc21f7d7367b13f21bddee4fbe86e0f91c9b55.tar.gz
exchange-2fdc21f7d7367b13f21bddee4fbe86e0f91c9b55.tar.bz2
exchange-2fdc21f7d7367b13f21bddee4fbe86e0f91c9b55.zip
add missing configuration files to dist, eliminate warning on CONFLICT status code in test
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.am1
-rw-r--r--src/lib/testing_api_cmd_withdraw.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 0680639c7..9b7dc10bd 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -289,5 +289,6 @@ EXTRA_DIST = \
test_exchange_api.conf \
test_exchange_api_keys_cherry_picking.conf \
test_exchange_api_keys_cherry_picking_extended.conf \
+ test_exchange_api_expire_reserve_now.conf \
test_auditor_api.conf \
test_auditor_api_expire_reserve_now.conf
diff --git a/src/lib/testing_api_cmd_withdraw.c b/src/lib/testing_api_cmd_withdraw.c
index 550ea9577..f559faf2c 100644
--- a/src/lib/testing_api_cmd_withdraw.c
+++ b/src/lib/testing_api_cmd_withdraw.c
@@ -213,11 +213,17 @@ reserve_withdraw_cb (void *cls,
case MHD_HTTP_FORBIDDEN:
/* nothing to check */
break;
+ case MHD_HTTP_CONFLICT:
+ /* nothing to check */
+ break;
case MHD_HTTP_NOT_FOUND:
/* nothing to check */
break;
default:
/* Unsupported status code (by test harness) */
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Withdraw test command does not support status code %u\n",
+ http_status);
GNUNET_break (0);
break;
}