[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
Changes by:	pcaulfield 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++;


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