aboutsummaryrefslogtreecommitdiff
path: root/src/gns
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/gns
parent331a6079913db5e630c113b0e022c9587499d177 (diff)
downloadgnunet-b089b3c07cb9a38f18e58225d93e1335f24ced17.tar.gz
gnunet-b089b3c07cb9a38f18e58225d93e1335f24ced17.zip
introduce have_rest; fix warnings
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/Makefile.am4
-rw-r--r--src/gns/gnunet-gns-proxy.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gns/Makefile.am b/src/gns/Makefile.am
index abd5d5b48..7a5f7cfd8 100644
--- a/src/gns/Makefile.am
+++ b/src/gns/Makefile.am
@@ -88,11 +88,9 @@ bin_PROGRAMS += gnunet-bcd
88endif 88endif
89endif 89endif
90 90
91if HAVE_MHD 91if HAVE_REST
92if HAVE_JSON
93REST_PLUGIN = libgnunet_plugin_rest_gns.la 92REST_PLUGIN = libgnunet_plugin_rest_gns.la
94endif 93endif
95endif
96 94
97plugin_LTLIBRARIES = \ 95plugin_LTLIBRARIES = \
98 libgnunet_plugin_block_gns.la \ 96 libgnunet_plugin_block_gns.la \
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c
index 956faf983..eb6c6852e 100644
--- a/src/gns/gnunet-gns-proxy.c
+++ b/src/gns/gnunet-gns-proxy.c
@@ -3378,7 +3378,7 @@ do_s5r_read (void *cls)
3378 s5r->gns_lookup = GNUNET_GNS_lookup_with_tld (gns_handle, 3378 s5r->gns_lookup = GNUNET_GNS_lookup_with_tld (gns_handle,
3379 s5r->domain, 3379 s5r->domain,
3380 GNUNET_DNSPARSER_TYPE_A, 3380 GNUNET_DNSPARSER_TYPE_A,
3381 GNUNET_NO /* only cached */, 3381 GNUNET_GNS_LO_LOCAL_MASTER /* only cached */,
3382 &handle_gns_result, 3382 &handle_gns_result,
3383 s5r); 3383 s5r);
3384 break; 3384 break;