diff options
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/Makefile.am | 4 | ||||
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 2 |
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 | |||
88 | endif | 88 | endif |
89 | endif | 89 | endif |
90 | 90 | ||
91 | if HAVE_MHD | 91 | if HAVE_REST |
92 | if HAVE_JSON | ||
93 | REST_PLUGIN = libgnunet_plugin_rest_gns.la | 92 | REST_PLUGIN = libgnunet_plugin_rest_gns.la |
94 | endif | 93 | endif |
95 | endif | ||
96 | 94 | ||
97 | plugin_LTLIBRARIES = \ | 95 | plugin_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; |