Skip to contentSkip to conversation

cluster/cman/lib libcman.c

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

lore
Share & tools
lore
#0 lore raw

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

cman/lib/libcman.c +1 -1
@@ -233,7 +233,7 @@
 			return len;
 
 		byte_cnt += len;
-		while (len >= iovptr->iov_len)
+		if (len >= iovptr->iov_len)
 		{
 			len -= iovptr->iov_len;
 			iovptr++;