diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-28 04:07:26 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-28 04:07:26 +0100 |
commit | 67935d7aa1090eed2eb00212741dcc4d13c0bb40 (patch) | |
tree | 6f261b7cda16c8a04ccec9d8763a3c0dbfaf5a95 /src/sq/sq.c | |
parent | 830137e312e8e565c9113a20411aa3073fbd1cbd (diff) | |
download | gnunet-67935d7aa1090eed2eb00212741dcc4d13c0bb40.tar.gz gnunet-67935d7aa1090eed2eb00212741dcc4d13c0bb40.zip |
completing sq_result_helper
Diffstat (limited to 'src/sq/sq.c')
-rw-r--r-- | src/sq/sq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sq/sq.c b/src/sq/sq.c index 47fcaf24e..dc4416761 100644 --- a/src/sq/sq.c +++ b/src/sq/sq.c | |||
@@ -75,6 +75,8 @@ GNUNET_SQ_extract_result (sqlite3_stmt *result, | |||
75 | 75 | ||
76 | for (unsigned int i=0;NULL != rs[i].conv; i++) | 76 | for (unsigned int i=0;NULL != rs[i].conv; i++) |
77 | { | 77 | { |
78 | if (NULL == rs[i].result_size) | ||
79 | rs[i].result_size = &rs[i].dst_size; | ||
78 | if (GNUNET_OK != | 80 | if (GNUNET_OK != |
79 | rs[i].conv (rs[i].cls, | 81 | rs[i].conv (rs[i].cls, |
80 | result, | 82 | result, |