From cb130cc9dfc179e3b6cb9f19a7b559106efa3b33 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 28 Feb 2017 05:25:49 +0100 Subject: [PATCH] fix sq logic, add to build --- src/Makefile.am | 5 +++++ src/sq/sq_result_helper.c | 1 + 2 files changed, 6 insertions(+) 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 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 \ 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, struct GNUNET_SQ_ResultSpec rs = { .conv = &extract_var_blob, .cleaner = &clean_var_blob, + .dst = dst, .cls = dst, .result_size = sptr, .num_params = 1 -- 2.25.1