summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-06 13:14:36 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-06 13:14:36 +0200
commite5a14a8b2505533cb13ab28377eb9c3667b95076 (patch)
tree34396bc5a1b524a3dcf9be4eafc8790b75345544
parentcaf6807856e3044f7e1065d84ca189e4d89b3b12 (diff)
downloadexchange-e5a14a8b2505533cb13ab28377eb9c3667b95076.tar.gz
exchange-e5a14a8b2505533cb13ab28377eb9c3667b95076.tar.bz2
exchange-e5a14a8b2505533cb13ab28377eb9c3667b95076.zip
allow 204 response
-rw-r--r--src/bank-lib/bank_api_credit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bank-lib/bank_api_credit.c b/src/bank-lib/bank_api_credit.c
index 2a6c64e5..095cc379 100644
--- a/src/bank-lib/bank_api_credit.c
+++ b/src/bank-lib/bank_api_credit.c
@@ -167,6 +167,9 @@ handle_credit_history_finished (void *cls,
response_code = MHD_HTTP_NO_CONTENT; /* signal end of list */
ec = TALER_EC_NONE;
break;
+ case MHD_HTTP_NO_CONTENT:
+ ec = TALER_EC_NONE;
+ break;
case MHD_HTTP_BAD_REQUEST:
/* This should never happen, either us or the bank is buggy
(or API version conflict); just pass JSON reply to the application */