diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-13 19:45:08 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-13 19:45:08 +0000 |
commit | 3da8c45b0db43ab46d671f2fbb845d36e80a7a7b (patch) | |
tree | af2354773431b175902bdb237a5bbe146c26b02a | |
parent | a0ef434c879d374768e07351228b1ca59ab8ffbc (diff) | |
download | gnunet-3da8c45b0db43ab46d671f2fbb845d36e80a7a7b.tar.gz gnunet-3da8c45b0db43ab46d671f2fbb845d36e80a7a7b.zip |
fix
-rw-r--r-- | src/ats/ats_api_scheduling.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ats/ats_api_scheduling.c b/src/ats/ats_api_scheduling.c index 93cd7eab4..07d4d85d4 100644 --- a/src/ats/ats_api_scheduling.c +++ b/src/ats/ats_api_scheduling.c | |||
@@ -159,6 +159,7 @@ transmit_message_to_ats (void *cls, | |||
159 | { | 159 | { |
160 | memcpy (&cbuf[ret], &p[1], p->size); | 160 | memcpy (&cbuf[ret], &p[1], p->size); |
161 | ret += p->size; | 161 | ret += p->size; |
162 | size -= p->size; | ||
162 | GNUNET_CONTAINER_DLL_remove (sh->pending_head, | 163 | GNUNET_CONTAINER_DLL_remove (sh->pending_head, |
163 | sh->pending_tail, | 164 | sh->pending_tail, |
164 | p); | 165 | p); |