cluster/cman/lib libcman.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: pcaulfield at sourceware.org 2006-12-19 10:55:57
Modified files:
cman/lib : libcman.c
Log message:
Fix bug where cman_dispatch(CMAN_DISPATCH_ONE) could dispatch several messages.
cman/lib/libcman.c +3 -3
@@ -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 ;