From: pcaulfield@sourceware.org <pcaulfield@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/cman/lib libcman.c
Date: 19 Dec 2006 10:55:01 -0000 [thread overview]
Message-ID: <20061219105501.11338.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-12-19 10:55:00
Modified files:
cman/lib : libcman.c
Log message:
Fix bug where cman_dispatch(CMAN_DISPATCH_ONE) could dispatch several
messages.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.31&r2=1.32
--- cluster/cman/lib/libcman.c 2006/12/01 13:46:57 1.31
+++ cluster/cman/lib/libcman.c 2006/12/19 10:55:00 1.32
@@ -486,7 +486,7 @@
h->saved_reply_msg = smsg->next;
len = smsg->msg->length;
free(smsg);
- if (res)
+ if (res || (flags & CMAN_DISPATCH_ONE))
break;
else
continue;
@@ -499,7 +499,7 @@
h->saved_data_msg = smsg->next;
len = smsg->msg->length;
free(smsg);
- if (res)
+ if (res || (flags & CMAN_DISPATCH_ONE))
break;
else
continue;
@@ -512,7 +512,7 @@
h->saved_event_msg = smsg->next;
len = smsg->msg->length;
free(smsg);
- if (res)
+ if (res || (flags & CMAN_DISPATCH_ONE))
break;
else
continue;
next reply other threads:[~2006-12-19 10:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-19 10:55 pcaulfield [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-01-07 18:53 [Cluster-devel] cluster/cman/lib libcman.c lhh
2007-09-19 19:15 cfeist
2007-09-18 16:01 pcaulfield
2007-09-18 15:34 pcaulfield
2007-02-23 9:51 pcaulfield
2007-01-05 10:31 pcaulfield
2007-01-05 10:30 pcaulfield
2006-12-19 10:55 pcaulfield
2006-12-01 14:23 pcaulfield
2006-12-01 14:23 pcaulfield
2006-12-01 13:46 pcaulfield
2006-10-25 12:23 pcaulfield
2006-10-16 15:52 pcaulfield
2006-08-31 10:11 pcaulfield
2006-08-24 10:40 pcaulfield
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=20061219105501.11338.qmail@sourceware.org \
--to=pcaulfield@sourceware.org \
/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;
as well as URLs for NNTP newsgroup(s).