Mailing List Archive

r939 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2006-09-07 09:12:18 +0200 (Thu, 07 Sep 2006)
New Revision: 939

Modified:
trunk/varnish-cache/bin/varnishd/storage_file.c
Log:
Don't clear alloc, it will be done in due time.


Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c 2006-09-07 07:09:37 UTC (rev 938)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c 2006-09-07 07:12:18 UTC (rev 939)
@@ -460,7 +460,6 @@
sp->size = bytes;
sp2->ptr += bytes;
sp2->offset += bytes;
- sp2->alloc = 0;
VSL(SLT_Debug, 0, "FILE T %p -> %p %ju %d", sp, sp2, sp2->size);
TAILQ_INSERT_TAIL(&sc->used, sp2, status);
TAILQ_INSERT_AFTER(&sc->order, sp, sp2, order);