From b9a9d5987705158af334e75e80186f27e8f47941 Mon Sep 17 00:00:00 2001 From: des Date: Mon, 13 Aug 2007 17:58:09 +0000 Subject: [PATCH] Readability nit git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1837 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5