summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_patch_order_forget.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-11 19:19:22 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-11 19:19:22 +0200
commit906e3035a6fc8941f3a72c13ae3908b4e7f687b1 (patch)
tree8fbcfd9f0a4249ec727f7bb69b9994ca53a9b707 /src/lib/merchant_api_patch_order_forget.c
parent5463f26b493405db1010576fb489e7fd98a47724 (diff)
downloadmerchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.tar.gz
merchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.tar.bz2
merchant-906e3035a6fc8941f3a72c13ae3908b4e7f687b1.zip
fix #6861, maybe #6854
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);