gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: log on no change to


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: log on no change to db
Date: Sun, 30 Jun 2019 17:29:13 +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 0ade45d3 log on no change to db
0ade45d3 is described below

commit 0ade45d315831864c5a7ef2bdde7d6efaf602a71
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jun 30 17:29:09 2019 +0200

    log on no change to db
---
 src/auditor/taler-auditor-exchange.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/auditor/taler-auditor-exchange.c 
b/src/auditor/taler-auditor-exchange.c
index 4837601d..6ea4f713 100644
--- a/src/auditor/taler-auditor-exchange.c
+++ b/src/auditor/taler-auditor-exchange.c
@@ -57,7 +57,7 @@ static int remove_flag;
  *
  * @param argc number of arguments from the command line
  * @param argv command line arguments
- * @return 0 ok, 1 on error
+ * @return 0 ok, non-zero on error
  */
 int
 main (int argc,
@@ -134,7 +134,7 @@ main (int argc,
     {
       fprintf (stderr,
               "Exchange URL must begin with `http://` or `https://` and end 
with `/'\n");
-      return 3;
+      return 1;
     }
   }
 
@@ -192,6 +192,14 @@ main (int argc,
       TALER_AUDITORDB_plugin_unload (adb);
       return 3;
     }
+    if (0 == qs)
+    {
+      fprintf (stderr,
+               "Did not update auditor DB: value existed\n",
+               qs);
+      TALER_AUDITORDB_plugin_unload (adb);
+      return 4;
+    }
   }
   TALER_AUDITORDB_plugin_unload (adb);
   return 0;

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



reply via email to

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