r2015 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Sep 25 08:46:57 CEST 2007


Author: phk
Date: 2007-09-25 08:46:57 +0200 (Tue, 25 Sep 2007)
New Revision: 2015

Modified:
   trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Use the correct shmlog function.


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c	2007-09-25 06:44:27 UTC (rev 2014)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c	2007-09-25 06:46:57 UTC (rev 2015)
@@ -769,7 +769,7 @@
 		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 @@
 			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;
 		}




More information about the varnish-commit mailing list