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: proper return code


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: proper return code for insert
Date: Thu, 01 Feb 2018 03:46:28 +0100

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 299b442  proper return code for insert
299b442 is described below

commit 299b4422fde37deb3d0bf3d8d63c0f790893c9ed
Author: Florian Dold <address@hidden>
AuthorDate: Thu Feb 1 03:46:21 2018 +0100

    proper return code for insert
---
 src/backenddb/plugin_merchantdb_postgres.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backenddb/plugin_merchantdb_postgres.c 
b/src/backenddb/plugin_merchantdb_postgres.c
index 0ee4aa0..a160ae0 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -2991,7 +2991,7 @@ postgres_enable_tip_reserve (void *cls,
     if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS != qs)
     {
       /* UUID already exists, we are done! */
-      return qs;
+      return GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;
     }
   }
 

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



reply via email to

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