Skip to contentSkip to conversation

cluster/cman/lib libcman.c

Cluster-devel [email protected] 1 participant 1 message Aug 31, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: pcaulfield at 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

cman/lib/libcman.c +1 -1
@@ -201,7 +201,7 @@
 
 	}
 	while ( flags & CMAN_DISPATCH_ALL &&
-		(len < 0 && errno == EAGAIN) );
+		!(len < 0 && errno == EAGAIN) );
 
 	return len;
 }