aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-05 15:04:47 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-05 15:04:47 +0200
commit7c04d12ea262995672961f68f3f7e887ba020197 (patch)
tree8d21162c1a09f74628c085ef653fc5cd4f4eea37 /src
parent49fdd32337cb928c6c382e89c900249056af0f3d (diff)
clean up postgres_get_reserve_history logic and improve docu
Diffstat (limited to 'src')
-rw-r--r--src/mintdb/plugin_mintdb_postgres.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c
index 80da4bc1f..edbe31ac7 100644
--- a/src/mintdb/plugin_mintdb_postgres.c
+++ b/src/mintdb/plugin_mintdb_postgres.c
@@ -1527,7 +1527,7 @@ postgres_get_reserve_history (void *cls,
{
PQclear (result);
ret = GNUNET_OK; /* It is OK if there are no withdrawls yet */
- break;
+ goto cleanup;
}
GNUNET_assert (NULL != rh);
GNUNET_assert (NULL != rh_tail);
@@ -1564,7 +1564,6 @@ postgres_get_reserve_history (void *cls,
ret = GNUNET_OK;
PQclear (result);
}
-
cleanup:
if (GNUNET_SYSERR == ret)
{