aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-28 05:25:49 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-28 05:25:49 +0100
commitcb130cc9dfc179e3b6cb9f19a7b559106efa3b33 (patch)
tree5533e70c06c8b837ad85281ca283068baec1f734 /src
parent67935d7aa1090eed2eb00212741dcc4d13c0bb40 (diff)
downloadgnunet-cb130cc9dfc179e3b6cb9f19a7b559106efa3b33.tar.gz
gnunet-cb130cc9dfc179e3b6cb9f19a7b559106efa3b33.zip
fix sq logic, add to build
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am5
-rw-r--r--src/sq/sq_result_helper.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 21d4ee818..e466cbc28 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -40,6 +40,10 @@ CONVERSATION_DIR = conversation
40endif 40endif
41endif 41endif
42 42
43if HAVE_SQLITE
44 SQLITE_DIR = sq
45endif
46
43if HAVE_MYSQL 47if HAVE_MYSQL
44 MYSQL_DIR = mysql my 48 MYSQL_DIR = mysql my
45endif 49endif
@@ -78,6 +82,7 @@ SUBDIRS = \
78 arm \ 82 arm \
79 $(TESTING) \ 83 $(TESTING) \
80 peerinfo \ 84 peerinfo \
85 $(SQLITE_DIR) \
81 $(MYSQL_DIR) \ 86 $(MYSQL_DIR) \
82 $(POSTGRES_DIR) \ 87 $(POSTGRES_DIR) \
83 datacache \ 88 datacache \
diff --git a/src/sq/sq_result_helper.c b/src/sq/sq_result_helper.c
index 9ac2e2533..eaf606aa4 100644
--- a/src/sq/sq_result_helper.c
+++ b/src/sq/sq_result_helper.c
@@ -110,6 +110,7 @@ GNUNET_SQ_result_spec_variable_size (void **dst,
110 struct GNUNET_SQ_ResultSpec rs = { 110 struct GNUNET_SQ_ResultSpec rs = {
111 .conv = &extract_var_blob, 111 .conv = &extract_var_blob,
112 .cleaner = &clean_var_blob, 112 .cleaner = &clean_var_blob,
113 .dst = dst,
113 .cls = dst, 114 .cls = dst,
114 .result_size = sptr, 115 .result_size = sptr,
115 .num_params = 1 116 .num_params = 1