From 38215fda1d65f9a49e3ea5db02810287bbaa9e34 Mon Sep 17 00:00:00 2001 From: des Date: Tue, 30 Oct 2007 12:54:10 +0000 Subject: [PATCH] Use pdiff() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2209 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_vrt_esi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_vrt_esi.c b/varnish-cache/bin/varnishd/cache_vrt_esi.c index fcc9f9d5..03b6e8c9 100644 --- a/varnish-cache/bin/varnishd/cache_vrt_esi.c +++ b/varnish-cache/bin/varnishd/cache_vrt_esi.c @@ -319,8 +319,8 @@ esi_addinclude(struct esi_work *ew, txt t) 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; -- 2.39.5