aboutsummaryrefslogtreecommitdiff
path: root/src/backenddb
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-01 03:46:21 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-01 03:46:21 +0100
commit299b4422fde37deb3d0bf3d8d63c0f790893c9ed (patch)
treefc6ab4a0c3ff19364a879abbebfa70fdf2b72e23 /src/backenddb
parent77f74fbef5bd6a50f68e61b1642f1701a926abf3 (diff)
proper return code for insert
Diffstat (limited to 'src/backenddb')
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 0ee4aa05..a160ae0e 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;
}
}