Mailing List Archive

r1837 - trunk/varnish-cache/bin/varnishd
Author: des
Date: 2007-08-13 19:58:09 +0200 (Mon, 13 Aug 2007)
New Revision: 1837

Modified:
trunk/varnish-cache/bin/varnishd/cache_pool.c
Log:
Readability nit


Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2007-08-13 16:34:26 UTC (rev 1836)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2007-08-13 17:58:09 UTC (rev 1837)
@@ -135,8 +135,9 @@
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);
}