aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 11:55:04 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 11:55:04 +0200
commitb089b3c07cb9a38f18e58225d93e1335f24ced17 (patch)
tree8df17078d46333d25140a72e4e9c3719085465f7 /src/namestore
parent331a6079913db5e630c113b0e022c9587499d177 (diff)
downloadgnunet-b089b3c07cb9a38f18e58225d93e1335f24ced17.tar.gz
gnunet-b089b3c07cb9a38f18e58225d93e1335f24ced17.zip
introduce have_rest; fix warnings
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/Makefile.am4
-rw-r--r--src/namestore/gnunet-namestore.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/namestore/Makefile.am b/src/namestore/Makefile.am
index 12d730f36..94861b478 100644
--- a/src/namestore/Makefile.am
+++ b/src/namestore/Makefile.am
@@ -99,11 +99,9 @@ TESTS = \
99 $(check_SCRIPTS) 99 $(check_SCRIPTS)
100endif 100endif
101 101
102if HAVE_MHD 102if HAVE_REST
103if HAVE_JSON
104REST_PLUGIN = libgnunet_plugin_rest_namestore.la 103REST_PLUGIN = libgnunet_plugin_rest_namestore.la
105endif 104endif
106endif
107 105
108lib_LTLIBRARIES = \ 106lib_LTLIBRARIES = \
109 libgnunetnamestore.la 107 libgnunetnamestore.la
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c
index 508566a49..3514f4fd9 100644
--- a/src/namestore/gnunet-namestore.c
+++ b/src/namestore/gnunet-namestore.c
@@ -1265,7 +1265,7 @@ run_with_zone_pkey (const struct GNUNET_CONFIGURATION_Handle *cfg)
1265 * @param ego an ego known to identity service, or NULL 1265 * @param ego an ego known to identity service, or NULL
1266 */ 1266 */
1267static void 1267static void
1268identity_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego) 1268identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
1269{ 1269{
1270 const struct GNUNET_CONFIGURATION_Handle *cfg = cls; 1270 const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
1271 1271