diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-29 21:32:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-29 21:32:50 +0000 |
commit | 68401426269d202ae48d4942842f365198886c57 (patch) | |
tree | f32581c54fd2267ebb96228cb6cc4c4c2842055e /src/util | |
parent | 1c8875d69a74ceadbe7eb54a3b35d7d2fcdec907 (diff) | |
download | gnunet-68401426269d202ae48d4942842f365198886c57.tar.gz gnunet-68401426269d202ae48d4942842f365198886c57.zip |
-make mst more reentrant
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/server_mst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/server_mst.c b/src/util/server_mst.c index 026601eb9..0a6eee49c 100644 --- a/src/util/server_mst.c +++ b/src/util/server_mst.c | |||
@@ -216,8 +216,8 @@ do_align: | |||
216 | } | 216 | } |
217 | if (one_shot == GNUNET_YES) | 217 | if (one_shot == GNUNET_YES) |
218 | one_shot = GNUNET_SYSERR; | 218 | one_shot = GNUNET_SYSERR; |
219 | mst->cb (mst->cb_cls, client_identity, hdr); | ||
220 | mst->off += want; | 219 | mst->off += want; |
220 | mst->cb (mst->cb_cls, client_identity, hdr); | ||
221 | if (mst->off == mst->pos) | 221 | if (mst->off == mst->pos) |
222 | { | 222 | { |
223 | /* reset to beginning of buffer, it's free right now! */ | 223 | /* reset to beginning of buffer, it's free right now! */ |