r2209 - trunk/varnish-cache/bin/varnishd
des at projects.linpro.no
des at projects.linpro.no
Tue Oct 30 13:54:11 CET 2007
Author: des
Date: 2007-10-30 13:54:10 +0100 (Tue, 30 Oct 2007)
New Revision: 2209
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Use pdiff()
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2007-10-30 12:38:34 UTC (rev 2208)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2007-10-30 12:54:10 UTC (rev 2209)
@@ -319,8 +319,8 @@
u = WS_Reserve(ws, 0);
v = snprintf(ws->f, u - 1, "%.*s%.*s",
- tag.e - tag.b, tag.b,
- val.e - val.b, val.b);
+ pdiff(tag.b, tag.e), tag.b,
+ pdiff(val.b, val.e), val.b);
v++;
xxxassert(v < u);
eb->include.b = ws->f;
More information about the varnish-commit
mailing list