diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-28 05:25:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-28 05:25:49 +0100 |
commit | cb130cc9dfc179e3b6cb9f19a7b559106efa3b33 (patch) | |
tree | 5533e70c06c8b837ad85281ca283068baec1f734 /src | |
parent | 67935d7aa1090eed2eb00212741dcc4d13c0bb40 (diff) | |
download | gnunet-cb130cc9dfc179e3b6cb9f19a7b559106efa3b33.tar.gz gnunet-cb130cc9dfc179e3b6cb9f19a7b559106efa3b33.zip |
fix sq logic, add to build
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 | ||||
-rw-r--r-- | src/sq/sq_result_helper.c | 1 |
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 | |||
40 | endif | 40 | endif |
41 | endif | 41 | endif |
42 | 42 | ||
43 | if HAVE_SQLITE | ||
44 | SQLITE_DIR = sq | ||
45 | endif | ||
46 | |||
43 | if HAVE_MYSQL | 47 | if HAVE_MYSQL |
44 | MYSQL_DIR = mysql my | 48 | MYSQL_DIR = mysql my |
45 | endif | 49 | endif |
@@ -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 |