From: Christian Grothoff Date: Sun, 5 Jun 2011 16:56:17 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~18323 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d;p=oweals%2Fgnunet.git fix --- diff --git a/src/hostlist/hostlist-server.c b/src/hostlist/hostlist-server.c index 62d4fa64b..c8e17f33a 100644 --- a/src/hostlist/hostlist-server.c +++ b/src/hostlist/hostlist-server.c @@ -187,12 +187,14 @@ host_processor (void *cls, int has_addr; if (err_msg != NULL) - { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - _("Error in communication with PEERINFO service:\n `%s'"), err_msg); - return; - } - + { + GNUNET_assert (NULL == peer); + pitr = NULL; + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + _("Error in communication with PEERINFO service: %s\n"), + err_msg); + return; + } if (peer == NULL) { pitr = NULL;