diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-09-01 11:09:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-09-01 11:09:35 +0200 |
commit | 22798d2ec67b5078de805ac5a539a085c14ea693 (patch) | |
tree | de61bdd21496950b42dcbd7e789aeddef1f3bc8c /src/restclient | |
parent | e586a72a81ff00805df452014a36700998b5869d (diff) | |
download | anastasis-22798d2ec67b5078de805ac5a539a085c14ea693.tar.gz anastasis-22798d2ec67b5078de805ac5a539a085c14ea693.tar.bz2 anastasis-22798d2ec67b5078de805ac5a539a085c14ea693.zip |
fix cmp
Diffstat (limited to 'src/restclient')
-rw-r--r-- | src/restclient/anastasis_api_keyshare_lookup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/restclient/anastasis_api_keyshare_lookup.c b/src/restclient/anastasis_api_keyshare_lookup.c index 5eeeee6..50e0d67 100644 --- a/src/restclient/anastasis_api_keyshare_lookup.c +++ b/src/restclient/anastasis_api_keyshare_lookup.c @@ -267,6 +267,12 @@ handle_keyshare_lookup_finished (void *cls, data_size); kdd.details.server_failure.http_status = response_code; break; + case MHD_HTTP_BAD_GATEWAY: + kdd.status = ANASTASIS_KSD_SERVER_ERROR; + kdd.details.server_failure.ec = TALER_JSON_get_error_code2 (data, + data_size); + kdd.details.server_failure.http_status = response_code; + break; default: /* unexpected response code */ GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |