summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_tips.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_tips.c')
-rw-r--r--src/lib/merchant_api_get_tips.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/merchant_api_get_tips.c b/src/lib/merchant_api_get_tips.c
index 16a87fff..fd3dfdae 100644
--- a/src/lib/merchant_api_get_tips.c
+++ b/src/lib/merchant_api_get_tips.c
@@ -184,6 +184,11 @@ handle_get_tips_finished (void *cls,
GNUNET_JSON_parse_free (spec);
break;
}
+ 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;
default:
/* unexpected response code */
hr.ec = TALER_JSON_get_error_code (json);