diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-16 21:47:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-16 21:47:50 +0000 |
commit | d4110a7d8d9d2559b0806f3f993ea197ae4ddb67 (patch) | |
tree | 6b301815dc56449f7d1973f1bb395e69a677fd10 /src/namestore/gnunet-namestore.c | |
parent | aed4626fc179259154c05413717076de7c85b1a7 (diff) | |
download | gnunet-d4110a7d8d9d2559b0806f3f993ea197ae4ddb67.tar.gz gnunet-d4110a7d8d9d2559b0806f3f993ea197ae4ddb67.zip |
-never store NICKs anywhere but in '+', do not display nicks in gnunet-namestore
Diffstat (limited to 'src/namestore/gnunet-namestore.c')
-rw-r--r-- | src/namestore/gnunet-namestore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/gnunet-namestore.c b/src/namestore/gnunet-namestore.c index 0a030acc5..e985e1b04 100644 --- a/src/namestore/gnunet-namestore.c +++ b/src/namestore/gnunet-namestore.c | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | /* | 1 | /* |
3 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
4 | (C) 2012, 2013 Christian Grothoff (and other contributing authors) | 3 | (C) 2012, 2013 Christian Grothoff (and other contributing authors) |
@@ -385,6 +384,8 @@ display_record (void *cls, | |||
385 | rname); | 384 | rname); |
386 | for (i=0;i<rd_len;i++) | 385 | for (i=0;i<rd_len;i++) |
387 | { | 386 | { |
387 | if (GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) | ||
388 | continue; | ||
388 | typestring = GNUNET_GNSRECORD_number_to_typename (rd[i].record_type); | 389 | typestring = GNUNET_GNSRECORD_number_to_typename (rd[i].record_type); |
389 | s = GNUNET_GNSRECORD_value_to_string (rd[i].record_type, | 390 | s = GNUNET_GNSRECORD_value_to_string (rd[i].record_type, |
390 | rd[i].data, | 391 | rd[i].data, |