[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22254 - gnunet/src/peerinfo
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22254 - gnunet/src/peerinfo |
Date: |
Sun, 24 Jun 2012 17:48:11 +0200 |
Author: grothoff
Date: 2012-06-24 17:48:11 +0200 (Sun, 24 Jun 2012)
New Revision: 22254
Modified:
gnunet/src/peerinfo/peerinfo_api.c
Log:
-cleaner
Modified: gnunet/src/peerinfo/peerinfo_api.c
===================================================================
--- gnunet/src/peerinfo/peerinfo_api.c 2012-06-24 15:47:22 UTC (rev 22253)
+++ gnunet/src/peerinfo/peerinfo_api.c 2012-06-24 15:48:11 UTC (rev 22254)
@@ -525,15 +525,13 @@
"Received end of list of peers from `%s' service\n", "PEERINFO");
GNUNET_PEERINFO_iterate_cancel (ic);
trigger_transmit (h);
- if (GNUNET_NO == h->in_receive)
+ if ( (GNUNET_NO == h->in_receive) &&
+ (NULL != h->ic_head) )
{
- if (NULL != h->ic_head)
- {
- h->in_receive = GNUNET_YES;
- GNUNET_CLIENT_receive (h->client, &peerinfo_handler, h,
- GNUNET_TIME_absolute_get_remaining
(h->ic_head->timeout));
- }
- }
+ h->in_receive = GNUNET_YES;
+ GNUNET_CLIENT_receive (h->client, &peerinfo_handler, h,
+ GNUNET_TIME_absolute_get_remaining
(h->ic_head->timeout));
+ }
if (NULL != cb)
cb (cb_cls, NULL, NULL, NULL);
return;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22254 - gnunet/src/peerinfo,
gnunet <=