[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	lhh sourceware org	2008-01-16 18:51:11

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&r1=1.45&r2=1.46

--- cluster/rgmanager/src/daemons/rg_state.c	2008/01/02 19:54:28	1.45
+++ cluster/rgmanager/src/daemons/rg_state.c	2008/01/16 18:51:11	1.46
@@ -1621,8 +1621,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;
 		}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]