r4531 - branches/2.0/varnish-cache/bin/varnishtop

tfheen at projects.linpro.no tfheen at projects.linpro.no
Wed Feb 3 09:54:09 CET 2010


Author: tfheen
Date: 2010-02-03 09:54:09 +0100 (Wed, 03 Feb 2010)
New Revision: 4531

Modified:
   branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c
Log:
Merge r4530: Print the whole tag in once mode



Modified: branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c	2010-02-03 08:40:23 UTC (rev 4530)
+++ branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c	2010-02-03 08:54:09 UTC (rev 4531)
@@ -273,7 +273,9 @@
 		if (tp->count <= 1.0)
 			break;
 		len = SHMLOG_LEN(tp->rec);
-		printf("%9.2f %s %*.*s\n", tp->count, VSL_tags[tp->rec[SHMLOG_TAG]], len, len, tp->rec + SHMLOG_DATA);
+		printf("%9.2f %s %*.*s\n",
+		    tp->count, VSL_tags[tp->rec[SHMLOG_TAG]],
+		    len, len, tp->rec_data);
 	}
 }
 



More information about the varnish-commit mailing list