From 87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jun 2011 16:56:17 +0000 Subject: [PATCH] fix --- src/hostlist/hostlist-server.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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; -- 2.25.1