diff options
Diffstat (limited to 'src/lib/merchant_api_get_reserve.c')
-rw-r--r-- | src/lib/merchant_api_get_reserve.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_get_reserve.c b/src/lib/merchant_api_get_reserve.c index 429cccff..710bcbc4 100644 --- a/src/lib/merchant_api_get_reserve.c +++ b/src/lib/merchant_api_get_reserve.c @@ -198,6 +198,11 @@ handle_reserve_get_finished (void *cls, return; } } + case MHD_HTTP_UNAUTHORIZED: + hr.ec = TALER_JSON_get_error_code (json); + hr.hint = TALER_JSON_get_error_hint (json); + /* Nothing really to verify, merchant says we need to authenticate. */ + break; case MHD_HTTP_INTERNAL_SERVER_ERROR: /* Server had an internal issue; we should retry, but this API leaves this to the application */ |