summaryrefslogtreecommitdiff
path: root/src/pq/test_pq.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-27 02:32:07 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-27 02:32:07 +0100
commiteee83a35971446034ac26b9272d9db9bbe7633ee (patch)
tree291844c713210da6f21c881f3b0e3011bf3ce0af /src/pq/test_pq.c
parent8b3286e953a80cf069271957ec817485ebe5b14e (diff)
downloadgnunet-eee83a35971446034ac26b9272d9db9bbe7633ee.tar.gz
gnunet-eee83a35971446034ac26b9272d9db9bbe7633ee.zip
first sketch for libgnuentsq test
Diffstat (limited to 'src/pq/test_pq.c')
-rw-r--r--src/pq/test_pq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pq/test_pq.c b/src/pq/test_pq.c
index 49705103f..b54318110 100644
--- a/src/pq/test_pq.c
+++ b/src/pq/test_pq.c
@@ -218,8 +218,8 @@ run_queries (PGconn *conn)
218 218
219 219
220int 220int
221main(int argc, 221main (int argc,
222 const char *const argv[]) 222 const char *const argv[])
223{ 223{
224 PGconn *conn; 224 PGconn *conn;
225 PGresult *result; 225 PGresult *result;
@@ -236,7 +236,7 @@ main(int argc,
236 PQerrorMessage (conn)); 236 PQerrorMessage (conn));
237 GNUNET_break (0); 237 GNUNET_break (0);
238 PQfinish (conn); 238 PQfinish (conn);
239 return 0; /* We ignore this type of error... */ 239 return 77; /* signal test was skipped */
240 } 240 }
241 241
242 result = PQexec (conn, 242 result = PQexec (conn,