From mboxrd@z Thu Jan 1 00:00:00 1970 From: pcaulfield@sourceware.org Date: 16 Oct 2006 15:52:15 -0000 Subject: [Cluster-devel] cluster/cman/lib libcman.c Message-ID: <20061016155215.607.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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++;