From b95384b49374152842c204270ff24de8cad3169b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 26 Sep 2013 09:21:14 +0000 Subject: [PATCH] additional check --- src/ats/ats_api_performance.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.25.1