aboutsummaryrefslogtreecommitdiff
path: root/src/sq/sq.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sq/sq.c')
-rw-r--r--src/sq/sq.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sq/sq.c b/src/sq/sq.c
index 74ab7beb5..47fcaf24e 100644
--- a/src/sq/sq.c
+++ b/src/sq/sq.c
@@ -63,15 +63,13 @@ GNUNET_SQ_bind (sqlite3_stmt *stmt,
63 * 63 *
64 * @param result result to process 64 * @param result result to process
65 * @param[in,out] rs result specification to extract for 65 * @param[in,out] rs result specification to extract for
66 * @param row row from the result to extract
67 * @return 66 * @return
68 * #GNUNET_OK if all results could be extracted 67 * #GNUNET_OK if all results could be extracted
69 * #GNUNET_SYSERR if a result was invalid (non-existing field) 68 * #GNUNET_SYSERR if a result was invalid (non-existing field)
70 */ 69 */
71int 70int
72GNUNET_SQ_extract_result (sqlite3_stmt *result, 71GNUNET_SQ_extract_result (sqlite3_stmt *result,
73 struct GNUNET_SQ_ResultSpec *rs, 72 struct GNUNET_SQ_ResultSpec *rs)
74 int row)
75{ 73{
76 unsigned int j = 0; 74 unsigned int j = 0;
77 75
@@ -80,7 +78,6 @@ GNUNET_SQ_extract_result (sqlite3_stmt *result,
80 if (GNUNET_OK != 78 if (GNUNET_OK !=
81 rs[i].conv (rs[i].cls, 79 rs[i].conv (rs[i].cls,
82 result, 80 result,
83 row,
84 j, 81 j,
85 rs[i].result_size, 82 rs[i].result_size,
86 rs[i].dst)) 83 rs[i].dst))