aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-05 16:56:17 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-05 16:56:17 +0000
commit87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d (patch)
treeb6fefda86f75b0ae587f97b1f9b636c6c6740bfb /src/hostlist
parent76b2ac594dd50215ddba93325d23315173550928 (diff)
downloadgnunet-87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d.tar.gz
gnunet-87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d.zip
fix
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/hostlist-server.c14
1 files 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,
187 int has_addr; 187 int has_addr;
188 188
189 if (err_msg != NULL) 189 if (err_msg != NULL)
190 { 190 {
191 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 191 GNUNET_assert (NULL == peer);
192 _("Error in communication with PEERINFO service:\n `%s'"), err_msg); 192 pitr = NULL;
193 return; 193 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
194 } 194 _("Error in communication with PEERINFO service: %s\n"),
195 195 err_msg);
196 return;
197 }
196 if (peer == NULL) 198 if (peer == NULL)
197 { 199 {
198 pitr = NULL; 200 pitr = NULL;