diff options
| author | Christian Grothoff <christian@grothoff.org> | 2021-08-06 13:14:36 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2021-08-06 13:14:36 +0200 | 
| commit | e5a14a8b2505533cb13ab28377eb9c3667b95076 (patch) | |
| tree | 34396bc5a1b524a3dcf9be4eafc8790b75345544 /src/bank-lib/bank_api_credit.c | |
| parent | caf6807856e3044f7e1065d84ca189e4d89b3b12 (diff) | |
allow 204 response
Diffstat (limited to 'src/bank-lib/bank_api_credit.c')
| -rw-r--r-- | src/bank-lib/bank_api_credit.c | 3 | 
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 */  | 
