aboutsummaryrefslogtreecommitdiff
path: root/src/pq/pq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pq/pq.c')
-rw-r--r--src/pq/pq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 0b6ef8729..b260aa1db 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -128,9 +128,11 @@ GNUNET_PQ_extract_result (PGresult *result,
128 struct GNUNET_PQ_ResultSpec *rs, 128 struct GNUNET_PQ_ResultSpec *rs,
129 int row) 129 int row)
130{ 130{
131 unsigned int i;
132
131 if (NULL == result) 133 if (NULL == result)
132 return GNUNET_SYSERR; 134 return GNUNET_SYSERR;
133 for (unsigned int i = 0; NULL != rs[i].conv; i++) 135 for (i = 0; NULL != rs[i].conv; i++)
134 { 136 {
135 struct GNUNET_PQ_ResultSpec *spec; 137 struct GNUNET_PQ_ResultSpec *spec;
136 enum GNUNET_GenericReturnValue ret; 138 enum GNUNET_GenericReturnValue ret;