From: Matthias Wachs Date: Thu, 26 Sep 2013 09:21:14 +0000 (+0000) Subject: additional check X-Git-Tag: initial-import-from-subversion-38251~7072 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b95384b49374152842c204270ff24de8cad3169b;p=oweals%2Fgnunet.git additional check --- diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index aa5fff203..acbc18e58 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c @@ -308,7 +308,8 @@ transmit_message_to_ats (void *cls, size_t size, void *buf) ret += p->size; size -= p->size; GNUNET_CONTAINER_DLL_remove (ph->pending_head, ph->pending_tail, p); - GNUNET_CLIENT_receive (ph->client, &process_ats_message, ph, + if (GNUNET_YES == p->is_init) + GNUNET_CLIENT_receive (ph->client, &process_ats_message, ph, GNUNET_TIME_UNIT_FOREVER_REL); GNUNET_free (p);