summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_patch_order_forget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_patch_order_forget.c')
-rw-r--r--src/lib/merchant_api_patch_order_forget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/merchant_api_patch_order_forget.c b/src/lib/merchant_api_patch_order_forget.c
index ddb26062..69563aaf 100644
--- a/src/lib/merchant_api_patch_order_forget.c
+++ b/src/lib/merchant_api_patch_order_forget.c
@@ -101,6 +101,10 @@ handle_forget_finished (void *cls,
hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
break;
case MHD_HTTP_OK:
+ /* fields were NOW forgotten */
+ break;
+ case MHD_HTTP_NO_CONTENT:
+ /* fields were already forgotten before */
break;
case MHD_HTTP_BAD_REQUEST:
hr.ec = TALER_JSON_get_error_code (json);