From 30b7ff09b7fe180ec262afe7370d0442340182f3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 11 Jun 2014 09:16:42 +0000 Subject: [PATCH] -fix counting --- src/peerinfo-tool/gnunet-peerinfo.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/peerinfo-tool/gnunet-peerinfo.c b/src/peerinfo-tool/gnunet-peerinfo.c index b16ad9cbf..c70724158 100644 --- a/src/peerinfo-tool/gnunet-peerinfo.c +++ b/src/peerinfo-tool/gnunet-peerinfo.c @@ -282,15 +282,10 @@ process_resolved_address (void *cls, } ar->atsc = NULL; if (GNUNET_SYSERR == res) - { - FPRINTF (stderr, + GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Failure: Cannot convert address to string for peer `%s'\n"), GNUNET_i2s (&ar->pc->peer)); - } - else - { - pc->num_addresses++; - } + pc->num_addresses++; if (pc->num_addresses == pc->address_list_size) dump_pc (pc); } -- 2.25.1