Skip to contentSkip to conversation

cluster/cman/lib libcman.c

Cluster-devel [email protected] 1 participant 1 message Oct 25, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-10-25 12:23:46

Modified files:
cman/lib : libcman.c

Log message:
fix CMAN_DISPATCH_ALL.
Patch from Mikhail A Zelikov which got inexplicably lost, sorry.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.29&r2=1.30

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