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

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	lhh sourceware org	2008-01-16 19:10:29

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

Log message:
	Fix #60 error in #428346 bug

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

--- cluster/rgmanager/src/daemons/service_op.c	2007/12/18 17:52:56	1.2.2.1
+++ cluster/rgmanager/src/daemons/service_op.c	2008/01/16 19:10:29	1.2.2.2
@@ -176,7 +176,7 @@
 		msg_ret = msg_receive(&ctx, &msg,
 				      sizeof (SmMessageSt), 10);
 		if ((msg_ret == -1 && errno != ETIMEDOUT) ||
-		    (msg_ret >= 0)) {
+		    (msg_ret > 0)) {
 			break;
 		}
 	} while(1);


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