Historic archive of defunct list bismark-commits@lists.bufferbloat.net
 help / color / mirror / Atom feed
* [Bismark-commits] rev 358 - trunk/server/src
@ 2011-05-30 10:22 walter
  0 siblings, 0 replies; only message in thread
From: walter @ 2011-05-30 10:22 UTC (permalink / raw)
  To: bismark-commits

Author: walter
Date: 2011-05-30 12:22:51 +0200 (Mon, 30 May 2011)
New Revision: 358

Modified:
   trunk/server/src/bdmd.c
Log:
bdmd exclusive measure error fix

Modified: trunk/server/src/bdmd.c
===================================================================
--- trunk/server/src/bdmd.c	2011-05-28 07:18:39 UTC (rev 357)
+++ trunk/server/src/bdmd.c	2011-05-30 10:22:51 UTC (rev 358)
@@ -351,7 +351,7 @@
 
 		/* Process request */
 		reply = malloc(MAX_IP_LEN + MAX_INFO_LEN + MAX_WAIT_LEN + 4);
-		if (*exclusive == '1') {
+		if (exclusive != NULL && *exclusive == '1') {
 			/* Exclusive request (only mutual exclusion for now) */
 			if (ts > atoi(target.free_ts)) {
 				/* Set reply */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-30 11:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-30 10:22 [Bismark-commits] rev 358 - trunk/server/src walter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox