diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-13 19:45:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-13 19:45:54 +0000 |
commit | defcc737a136bf04676d731be63a7e549c717e7b (patch) | |
tree | e319f668ffc783b5ff97c1317e7e5042047c217e | |
parent | 3da8c45b0db43ab46d671f2fbb845d36e80a7a7b (diff) | |
download | gnunet-defcc737a136bf04676d731be63a7e549c717e7b.tar.gz gnunet-defcc737a136bf04676d731be63a7e549c717e7b.zip |
copy and paste copies bugs
-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); |