From: des Date: Mon, 13 Aug 2007 17:58:09 +0000 (+0000) Subject: Readability nit X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a9d5987705158af334e75e80186f27e8f47941;p=varnish Readability nit git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1837 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index 9350adfc..1855aa66 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -135,8 +135,9 @@ WRK_Write(struct worker *w, const void *ptr, int len) if (w->niov == MAX_IOVS) WRK_Flush(w); w->iov[w->niov].iov_base = (void*)(uintptr_t)ptr; - w->iov[w->niov++].iov_len = len; + w->iov[w->niov].iov_len = len; w->liov += len; + w->niov++; return (len); }