From c13ab82e5f0540bb919c06f2ff1693f3f2ae3f1d Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 25 Sep 2007 06:46:57 +0000 Subject: [PATCH] Use the correct shmlog function. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2015 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index e5c99e0b..db92f9f1 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -769,7 +769,7 @@ http_copyheader(struct worker *w, int fd, struct http *to, struct http *fm, unsi to->nhd++; } else { VSL_stats->losthdr++; - WSLH(w, SLT_LostHeader, fd, fm, n); + WSLR(w, SLT_LostHeader, fd, fm->hd[n].b, fm->hd[n].e); } } @@ -865,7 +865,7 @@ http_CopyHome(struct worker *w, int fd, struct http *hp) hp->hd[u].b = p; hp->hd[u].e = p + l; } else { - WSLH(w, SLT_LostHeader, fd, hp, u); + WSLR(w, SLT_LostHeader, fd, hp->hd[u].b, hp->hd[u].e); hp->hd[u].b = NULL; hp->hd[u].e = NULL; } -- 2.39.5