diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-26 16:40:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-26 16:40:43 +0100 |
commit | ad12b72a8035c89c673019d3068fe977cc159706 (patch) | |
tree | c5402fdaf6b1c61e5430096afdfcad47c7608326 /src/lib/auditor_api_deposit_confirmation.c | |
parent | 77d49bf4a7958fec21a91c36c5bfbf36b59f2739 (diff) | |
download | exchange-ad12b72a8035c89c673019d3068fe977cc159706.tar.xz |
handle GONE, specified legal value now
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r-- | src/lib/auditor_api_deposit_confirmation.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c index aee8850d4..b2126230a 100644 --- a/src/lib/auditor_api_deposit_confirmation.c +++ b/src/lib/auditor_api_deposit_confirmation.c @@ -120,6 +120,13 @@ handle_deposit_confirmation_finished (void *cls, /* Nothing really to verify, this should never happen, we should pass the JSON reply to the application */ break; + case MHD_HTTP_GONE: + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + /* Nothing really to verify, auditor says one of the signatures is + invalid; as we checked them, this should never happen, we + should pass the JSON reply to the application */ + break; case MHD_HTTP_INTERNAL_SERVER_ERROR: hr.ec = TALER_JSON_get_error_code (json); hr.hint = TALER_JSON_get_error_hint (json); @@ -134,7 +141,6 @@ handle_deposit_confirmation_finished (void *cls, "Unexpected response code %u/%d for auditor deposit confirmation\n", (unsigned int) response_code, hr.ec); - GNUNET_break_op (0); break; } dh->cb (dh->cb_cls, |