fix sq logic, add to build
authorChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2017 04:25:49 +0000 (05:25 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 28 Feb 2017 04:25:49 +0000 (05:25 +0100)
src/Makefile.am
src/sq/sq_result_helper.c

index 21d4ee8187cfdd869a33d298cbadc6348d4a7d36..e466cbc28f2b27b9523be634e648ca95b236bfb7 100644 (file)
@@ -40,6 +40,10 @@ CONVERSATION_DIR = conversation
 endif
 endif
 
+if HAVE_SQLITE
+ SQLITE_DIR = sq
+endif
+
 if HAVE_MYSQL
  MYSQL_DIR = mysql my
 endif
@@ -78,6 +82,7 @@ SUBDIRS = \
   arm \
   $(TESTING) \
   peerinfo \
+  $(SQLITE_DIR) \
   $(MYSQL_DIR) \
   $(POSTGRES_DIR) \
   datacache \
index 9ac2e2533730f79eb141aa44bdaf44ced9f00edf..eaf606aa4436dc2a1f8afc38a8edd3bc31ce2674 100644 (file)
@@ -110,6 +110,7 @@ GNUNET_SQ_result_spec_variable_size (void **dst,
   struct GNUNET_SQ_ResultSpec rs = {
     .conv = &extract_var_blob,
     .cleaner = &clean_var_blob,
+    .dst = dst,
     .cls = dst,
     .result_size = sptr,
     .num_params = 1