]> err.no Git - varnish/commitdiff
Use the correct shmlog function.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 06:46:57 +0000 (06:46 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 25 Sep 2007 06:46:57 +0000 (06:46 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2015 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_http.c

index e5c99e0b7e0e28463fe952c7a22722a9b4919f13..db92f9f1ec1b7611d8bf77d88b37fa4028081156 100644 (file)
@@ -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;
                }