aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_rest_namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r--src/namestore/plugin_rest_namestore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index 05776801b..954af98d2 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -26,6 +26,7 @@
26 26
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_rest_plugin.h" 28#include "gnunet_rest_plugin.h"
29#include "gnunet_gns_service.h"
29#include "gnunet_namestore_service.h" 30#include "gnunet_namestore_service.h"
30#include "gnunet_identity_service.h" 31#include "gnunet_identity_service.h"
31#include "gnunet_rest_lib.h" 32#include "gnunet_rest_lib.h"
@@ -458,7 +459,7 @@ namestore_list_response (void *cls,
458 for (i=0; i<rd_len; i++) 459 for (i=0; i<rd_len; i++)
459 { 460 {
460 if ( (GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) && 461 if ( (GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) &&
461 (0 != strcmp (rname, "+")) ) 462 (0 != strcmp (rname, GNUNET_GNS_MASTERZONE_STR)) )
462 continue; 463 continue;
463 464
464 if ( (rd[i].record_type != handle->type) && 465 if ( (rd[i].record_type != handle->type) &&