Historic archive of defunct list bismark-commits@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: walter@svn.comics.unina.it
To: bismark-commits@lists.bufferbloat.net
Subject: [Bismark-commits] rev 358 - trunk/server/src
Date: Mon, 30 May 2011 12:22:51 +0200	[thread overview]
Message-ID: <E1QQzcZ-0005Qy-4C@svn.comics.unina.it> (raw)

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 */


                 reply	other threads:[~2011-05-30 11:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1QQzcZ-0005Qy-4C@svn.comics.unina.it \
    --to=walter@svn.comics.unina.it \
    --cc=bismark-commits@lists.bufferbloat.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox