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

[Cluster-devel] cluster/cman/lib libcman.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	pcaulfield sourceware org	2006-08-31 10:11:53

Modified files:
	cman/lib       : libcman.c 

Log message:
	make cman_dispatch(, CMAN_DISPATCH_ALL) do what it's supposed to do.
	Thanks to Mikhail A Zelikov for spooting this.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.3.2.6&r2=1.3.2.7

--- cluster/cman/lib/libcman.c	2006/04/26 08:54:33	1.3.2.6
+++ cluster/cman/lib/libcman.c	2006/08/31 10:11:53	1.3.2.7
@@ -201,7 +201,7 @@
 
 	}
 	while ( flags & CMAN_DISPATCH_ALL &&
-		(len < 0 && errno == EAGAIN) );
+		!(len < 0 && errno == EAGAIN) );
 
 	return len;
 }


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