gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -style fix


From: gnunet
Subject: [taler-exchange] branch master updated: -style fix
Date: Fri, 15 Apr 2022 11:18:44 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new a2604f79 -style fix
a2604f79 is described below

commit a2604f7967d592ef0a9cce9bd9c73c83418f0adc
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Apr 15 11:18:33 2022 +0200

    -style fix
---
 src/exchange/taler-exchange-httpd_db.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_db.c 
b/src/exchange/taler-exchange-httpd_db.c
index f736a508..53b935ba 100644
--- a/src/exchange/taler-exchange-httpd_db.c
+++ b/src/exchange/taler-exchange-httpd_db.c
@@ -123,10 +123,12 @@ TEH_DB_run_transaction (struct MHD_Connection *connection,
              connection,
              mhd_ret);
     if (0 > qs)
+    {
       TEH_plugin->rollback (TEH_plugin->cls);
-    if (GNUNET_DB_STATUS_HARD_ERROR == qs)
-      return GNUNET_SYSERR;
-    if (0 <= qs)
+      if (GNUNET_DB_STATUS_HARD_ERROR == qs)
+        return GNUNET_SYSERR;
+    }
+    else
     {
       qs = TEH_plugin->commit (TEH_plugin->cls);
       if (GNUNET_DB_STATUS_HARD_ERROR == qs)

-- 
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]