From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from svn.comics.unina.it (unknown [143.225.229.147]) by huchra.bufferbloat.net (Postfix) with ESMTP id 1F3C4201A58 for ; Mon, 30 May 2011 04:20:42 -0700 (PDT) Received: from www-data by svn.comics.unina.it with local (Exim 4.69) (envelope-from ) id 1QQzcZ-0005Qy-4C for bismark-commits@lists.bufferbloat.net; Mon, 30 May 2011 12:22:51 +0200 To: bismark-commits@lists.bufferbloat.net From: walter@svn.comics.unina.it Message-Id: Date: Mon, 30 May 2011 12:22:51 +0200 Subject: [Bismark-commits] rev 358 - trunk/server/src X-BeenThere: bismark-commits@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Commit log for the bismark source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2011 11:20:43 -0000 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 */