projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b2ac5
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Sun, 5 Jun 2011 16:56:17 +0000
(16:56 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 5 Jun 2011 16:56:17 +0000
(16:56 +0000)
src/hostlist/hostlist-server.c
patch
|
blob
|
history
diff --git
a/src/hostlist/hostlist-server.c
b/src/hostlist/hostlist-server.c
index 62d4fa64b0eb543a740658e39727fc492452cf6b..c8e17f33af437a6d79b9d80a6ede554f04d40dc2 100644
(file)
--- 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;