gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r19516 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r19516 - gnunet/src/util
Date: Sun, 29 Jan 2012 22:32:50 +0100

Author: grothoff
Date: 2012-01-29 22:32:50 +0100 (Sun, 29 Jan 2012)
New Revision: 19516

Modified:
   gnunet/src/util/server_mst.c
Log:
-make mst more reentrant

Modified: gnunet/src/util/server_mst.c
===================================================================
--- gnunet/src/util/server_mst.c        2012-01-29 21:26:46 UTC (rev 19515)
+++ gnunet/src/util/server_mst.c        2012-01-29 21:32:50 UTC (rev 19516)
@@ -216,8 +216,8 @@
     }
     if (one_shot == GNUNET_YES)
       one_shot = GNUNET_SYSERR;
+    mst->off += want;
     mst->cb (mst->cb_cls, client_identity, hdr);
-    mst->off += want;
     if (mst->off == mst->pos)
     {
       /* reset to beginning of buffer, it's free right now! */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]