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:
1c8875d
)
-make mst more reentrant
author
Christian Grothoff
<christian@grothoff.org>
Sun, 29 Jan 2012 21:32:50 +0000
(21:32 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 29 Jan 2012 21:32:50 +0000
(21:32 +0000)
src/util/server_mst.c
patch
|
blob
|
history
diff --git
a/src/util/server_mst.c
b/src/util/server_mst.c
index 026601eb9fe09b210e8ab00c56bad09b2d672902..0a6eee49cd2a98548f0e8ebb6f3982aeb432f55d 100644
(file)
--- a/
src/util/server_mst.c
+++ b/
src/util/server_mst.c
@@
-216,8
+216,8
@@
do_align:
}
if (one_shot == GNUNET_YES)
one_shot = GNUNET_SYSERR;
- mst->cb (mst->cb_cls, client_identity, hdr);
mst->off += want;
+ mst->cb (mst->cb_cls, client_identity, hdr);
if (mst->off == mst->pos)
{
/* reset to beginning of buffer, it's free right now! */