From defcc737a136bf04676d731be63a7e549c717e7b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 13 Oct 2011 19:45:54 +0000 Subject: copy and paste copies bugs --- src/ats/ats_api_performance.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ats/ats_api_performance.c') 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, { memcpy (&cbuf[ret], &p[1], p->size); ret += p->size; + size -= p->size; GNUNET_CONTAINER_DLL_remove (ph->pending_head, ph->pending_tail, p); -- cgit v1.2.3