diff options
-rw-r--r-- | src/ats/ats_api_performance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ats/ats_api_performance.c b/src/ats/ats_api_performance.c index fd733911d..8444658f3 100644 --- a/src/ats/ats_api_performance.c +++ b/src/ats/ats_api_performance.c | |||
@@ -204,6 +204,7 @@ transmit_message_to_ats (void *cls, | |||
204 | { | 204 | { |
205 | memcpy (&cbuf[ret], &p[1], p->size); | 205 | memcpy (&cbuf[ret], &p[1], p->size); |
206 | ret += p->size; | 206 | ret += p->size; |
207 | size -= p->size; | ||
207 | GNUNET_CONTAINER_DLL_remove (ph->pending_head, | 208 | GNUNET_CONTAINER_DLL_remove (ph->pending_head, |
208 | ph->pending_tail, | 209 | ph->pending_tail, |
209 | p); | 210 | p); |