Skip to contentSkip to conversation

cluster/cman/lib libcman.c

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

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-12-01 13:46:58

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&r1=1.30&r2=1.31

cman/lib/libcman.c +1 -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++;