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:
0ab4af1
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Thu, 3 May 2012 17:42:37 +0000
(17:42 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 3 May 2012 17:42:37 +0000
(17:42 +0000)
src/peerinfo/peerinfo_api.c
patch
|
blob
|
history
diff --git
a/src/peerinfo/peerinfo_api.c
b/src/peerinfo/peerinfo_api.c
index 741c3429f148079214028c0f7572d11d3e08a772..96857b5a836f05c9fafcf0ea9f63aa60e3671281 100644
(file)
--- a/
src/peerinfo/peerinfo_api.c
+++ b/
src/peerinfo/peerinfo_api.c
@@
-577,10
+577,13
@@
iterator_start_receive (void *cls, const char *emsg)
}
LOG (GNUNET_ERROR_TYPE_DEBUG, "Waiting for response from `%s' service.\n",
"PEERINFO");
- h->in_receive = GNUNET_YES;
ic->in_receive = GNUNET_YES;
- GNUNET_CLIENT_receive (h->client, &peerinfo_handler, ic,
- GNUNET_TIME_absolute_get_remaining (ic->timeout));
+ if (GNUNET_NO == h->in_receive)
+ {
+ h->in_receive = GNUNET_YES;
+ GNUNET_CLIENT_receive (h->client, &peerinfo_handler, ic,
+ GNUNET_TIME_absolute_get_remaining (ic->timeout));
+ }
}