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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 356472fa3..0b6ef8729 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -123,16 +123,14 @@ GNUNET_PQ_cleanup_result (struct GNUNET_PQ_ResultSpec *rs)
123} 123}
124 124
125 125
126int 126enum GNUNET_GenericReturnValue
127GNUNET_PQ_extract_result (PGresult *result, 127GNUNET_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
133 if (NULL == result) 131 if (NULL == result)
134 return GNUNET_SYSERR; 132 return GNUNET_SYSERR;
135 for (i = 0; NULL != rs[i].conv; i++) 133 for (unsigned int i = 0; NULL != rs[i].conv; i++)
136 { 134 {
137 struct GNUNET_PQ_ResultSpec *spec; 135 struct GNUNET_PQ_ResultSpec *spec;
138 enum GNUNET_GenericReturnValue ret; 136 enum GNUNET_GenericReturnValue ret;