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

pcaulfield at sourceware.org pcaulfield at sourceware.org
Mon Oct 16 15:52:15 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	pcaulfield at sourceware.org	2006-10-16 15:52:15

Modified files:
	cman/lib       : libcman.c 

Log message:
	'while' should be an 'if'

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

--- cluster/cman/lib/libcman.c	2006/10/05 07:48:33	1.28
+++ cluster/cman/lib/libcman.c	2006/10/16 15:52:15	1.29
@@ -233,7 +233,7 @@
 			return len;
 
 		byte_cnt += len;
-		while (len >= iovptr->iov_len)
+		if (len >= iovptr->iov_len)
 		{
 			len -= iovptr->iov_len;
 			iovptr++;




More information about the Cluster-devel mailing list