gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: fix clear logic err


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: fix clear logic error, likely related to #5127
Date: Thu, 31 Aug 2017 13:58:46 +0200

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 f795e36  fix clear logic error, likely related to #5127
f795e36 is described below

commit f795e3654f3f58b1e24bb0506c63ee71d32a5395
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Aug 31 13:58:48 2017 +0200

    fix clear logic error, likely related to #5127
---
 src/backend/taler-merchant-httpd_pay.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_pay.c 
b/src/backend/taler-merchant-httpd_pay.c
index 0c93c16..aa4b41f 100644
--- a/src/backend/taler-merchant-httpd_pay.c
+++ b/src/backend/taler-merchant-httpd_pay.c
@@ -1453,9 +1453,9 @@ handler_pay_json (struct MHD_Connection *connection,
         GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                     "Rolling back db transaction\n");
         db->rollback (db->cls);
+        break;
       }
 
-      break;
 
       /* Only retry if SOFT error occurred.  Exit in case of OK or HARD 
failure */
       if (GNUNET_DB_STATUS_HARD_ERROR == qs_st)
@@ -1466,7 +1466,6 @@ handler_pay_json (struct MHD_Connection *connection,
                                                   
TALER_EC_PAY_DB_STORE_TRANSACTION_ERROR,
                                                  "Merchant database error: 
hard error while storing transaction");
       }
-
       continue;
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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