summaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-10 22:38:34 +0200
committerChristian Grothoff <christian@grothoff.org>2015-05-10 22:38:34 +0200
commitdc4847220a92533ebe2c6c8cd79bab424865b0e4 (patch)
tree2c440fe830dacb1c24640bab39cb09f9629da1f8 /src/pq
parentfe51219d5873d4559d8421289ef7506d3e05fe0c (diff)
downloadexchange-dc4847220a92533ebe2c6c8cd79bab424865b0e4.tar.gz
exchange-dc4847220a92533ebe2c6c8cd79bab424865b0e4.tar.bz2
exchange-dc4847220a92533ebe2c6c8cd79bab424865b0e4.zip
do equivalent update for results that was done to type queries in pq library
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/db_pq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pq/db_pq.c b/src/pq/db_pq.c
index 74126750b..72a9370ed 100644
--- a/src/pq/db_pq.c
+++ b/src/pq/db_pq.c
@@ -415,7 +415,7 @@ TALER_PQ_extract_result (PGresult *result,
const char *res;
int fnum;
- GNUNET_break (NULL == *pk);
+ *pk = NULL;
fnum = PQfnumber (result,
spec->fname);
if (fnum < 0)
@@ -459,7 +459,7 @@ TALER_PQ_extract_result (PGresult *result,
const char *res;
int fnum;
- GNUNET_break (NULL == *sig);
+ *sig = NULL;
fnum = PQfnumber (result,
spec->fname);
if (fnum < 0)