diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-05 16:56:17 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-05 16:56:17 +0000 |
commit | 87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d (patch) | |
tree | b6fefda86f75b0ae587f97b1f9b636c6c6740bfb /src/hostlist | |
parent | 76b2ac594dd50215ddba93325d23315173550928 (diff) | |
download | gnunet-87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d.tar.gz gnunet-87ee0e533e7f41f8e7f5a9a133766cfa8ca4859d.zip |
fix
Diffstat (limited to 'src/hostlist')
-rw-r--r-- | src/hostlist/hostlist-server.c | 14 |
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; |