From: Christian Grothoff Date: Tue, 28 Feb 2017 04:25:49 +0000 (+0100) Subject: fix sq logic, add to build X-Git-Tag: taler-0.2.1~8^2~25 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb130cc9dfc179e3b6cb9f19a7b559106efa3b33;p=oweals%2Fgnunet.git fix sq logic, add to build --- 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