diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-26 09:21:14 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-26 09:21:14 +0000 |
commit | b95384b49374152842c204270ff24de8cad3169b (patch) | |
tree | d8d4f53403d57d0ad36bf617fb3065dfab8efd40 /src/ats/ats_api_performance.c | |
parent | 788fba8f069182d095b23bc417cce2f8e423ebb2 (diff) | |
download | gnunet-b95384b49374152842c204270ff24de8cad3169b.tar.gz gnunet-b95384b49374152842c204270ff24de8cad3169b.zip |
additional check
Diffstat (limited to 'src/ats/ats_api_performance.c')
-rw-r--r-- | src/ats/ats_api_performance.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
308 | ret += p->size; | 308 | ret += p->size; |
309 | size -= p->size; | 309 | size -= p->size; |
310 | GNUNET_CONTAINER_DLL_remove (ph->pending_head, ph->pending_tail, p); | 310 | GNUNET_CONTAINER_DLL_remove (ph->pending_head, ph->pending_tail, p); |
311 | GNUNET_CLIENT_receive (ph->client, &process_ats_message, ph, | 311 | if (GNUNET_YES == p->is_init) |
312 | GNUNET_CLIENT_receive (ph->client, &process_ats_message, ph, | ||
312 | GNUNET_TIME_UNIT_FOREVER_REL); | 313 | GNUNET_TIME_UNIT_FOREVER_REL); |
313 | 314 | ||
314 | GNUNET_free (p); | 315 | GNUNET_free (p); |