From: Christian Grothoff Date: Fri, 8 Jun 2012 13:04:58 +0000 (+0000) Subject: -fixfix X-Git-Tag: initial-import-from-subversion-38251~13227 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=532e72fd4284021eee28a8ff3f6e35a37d9a26e8;p=oweals%2Fgnunet.git -fixfix --- diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index 62e20b266..3e52e1911 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c @@ -131,9 +131,11 @@ struct GNUNET_PEERINFO_IteratorContext int have_peer; /** - * Are we now receiving? + * Set to GNUNET_YES if we are currently receiving replies from the + * service. */ - int in_receive; + int request_transmitted; + }; @@ -183,10 +185,9 @@ struct GNUNET_PEERINFO_Handle GNUNET_SCHEDULER_TaskIdentifier r_task; /** - * Set to GNUNET_YES if we are currently receiving replies from the - * service. + * Are we now receiving? */ - int request_transmitted; + int in_receive; }; @@ -600,7 +601,6 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) "Received %u bytes of `%s' information about peer `%s' from `%s' service\n", (hello == NULL) ? 0 : (unsigned int) GNUNET_HELLO_size (hello), "HELLO", GNUNET_i2s (&im->peer), "PEERINFO"); - ic->request_transmitted = GNUNET_YES; h->in_receive = GNUNET_YES; GNUNET_CLIENT_receive (h->client, &peerinfo_handler, h, GNUNET_TIME_absolute_get_remaining (ic->timeout));