gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant] branch master updated: fix #6738


From: gnunet
Subject: [taler-merchant] branch master updated: fix #6738
Date: Thu, 04 Feb 2021 20:04:53 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 6ce9acfa fix #6738
6ce9acfa is described below

commit 6ce9acfa72c8f5b173c724d0514b44332d0330da
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Feb 4 20:04:51 2021 +0100

    fix #6738
---
 src/backend/taler-merchant-httpd_post-orders-ID-abort.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
index a7dadb69..50e6ccd5 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-abort.c
@@ -360,7 +360,9 @@ generate_success_response (struct AbortContext *ac)
     struct RefundDetails *rdi = &ac->rd[i];
     json_t *detail;
 
-    if ( (MHD_HTTP_BAD_REQUEST <= rdi->http_status) ||
+    if ( ( (MHD_HTTP_BAD_REQUEST <= rdi->http_status) &&
+           (MHD_HTTP_NOT_FOUND != rdi->http_status) &&
+           (MHD_HTTP_GONE != rdi->http_status) ) ||
          (0 == rdi->http_status) ||
          (NULL == rdi->exchange_reply) )
       hc = MHD_HTTP_BAD_GATEWAY;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]