[Cluster-devel] cluster/rgmanager/src/daemons rg_state.c

lhh at sourceware.org lhh at sourceware.org
Wed Jan 16 18:50:30 UTC 2008


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh at sourceware.org	2008-01-16 18:50:29

Modified files:
	rgmanager/src/daemons: rg_state.c 

Log message:
	Fix #60 error in #428346 bug

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_state.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.24.2.15&r2=1.24.2.16

--- cluster/rgmanager/src/daemons/rg_state.c	2007/12/18 17:52:56	1.24.2.15
+++ cluster/rgmanager/src/daemons/rg_state.c	2008/01/16 18:50:29	1.24.2.16
@@ -1508,8 +1508,9 @@
 	do {
 		msg_ret = msg_receive(&ctx, &msg_relo,
 					      sizeof (SmMessageSt), 10);
+
 		if ((msg_ret == -1 && errno != ETIMEDOUT) ||
-		    (msg_ret >= 0)) {
+		    (msg_ret > 0)) {
 			break;
 		}
 




More information about the Cluster-devel mailing list