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

pcaulfield at sourceware.org pcaulfield at sourceware.org
Fri Dec 1 14:23:39 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	pcaulfield at sourceware.org	2006-12-01 14:23:39

Modified files:
	cman/lib       : libcman.c 

Log message:
	That 'if' really should have been a 'while'.
	If anyone can remember which bug this was supposed to fix, please pipe up :)

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

--- cluster/cman/lib/libcman.c	2006/10/25 12:23:46	1.30
+++ cluster/cman/lib/libcman.c	2006/12/01 14:23:39	1.30.4.1
@@ -233,7 +233,7 @@
 			return len;
 
 		byte_cnt += len;
-		if (len >= iovptr->iov_len)
+		while (len >= iovptr->iov_len)
 		{
 			len -= iovptr->iov_len;
 			iovptr++;




More information about the Cluster-devel mailing list