projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0ef434
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Thu, 13 Oct 2011 19:45:08 +0000
(19:45 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 13 Oct 2011 19:45:08 +0000
(19:45 +0000)
src/ats/ats_api_scheduling.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api_scheduling.c
b/src/ats/ats_api_scheduling.c
index 93cd7eab46fd723807b0f67af0c361102f077fce..07d4d85d4da0db675c1fa9d1d84bb5a474580b16 100644
(file)
--- a/
src/ats/ats_api_scheduling.c
+++ b/
src/ats/ats_api_scheduling.c
@@
-159,6
+159,7
@@
transmit_message_to_ats (void *cls,
{
memcpy (&cbuf[ret], &p[1], p->size);
ret += p->size;
+ size -= p->size;
GNUNET_CONTAINER_DLL_remove (sh->pending_head,
sh->pending_tail,
p);