diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pq/test_pq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c index 2ed1873a5..13aa1f162 100644 --- a/src/pq/test_pq.c +++ b/src/pq/test_pq.c @@ -186,6 +186,8 @@ main (int argc, conn = GNUNET_PQ_connect ("postgres:///talercheck", es, NULL); + if (NULL == conn) + return 77; if (GNUNET_OK != postgres_prepare (conn)) { |