r3371 - branches/2.0/varnish-cache/bin/varnishncsa

tfheen at projects.linpro.no tfheen at projects.linpro.no
Mon Nov 10 11:10:09 CET 2008


Author: tfheen
Date: 2008-11-10 11:10:09 +0100 (Mon, 10 Nov 2008)
New Revision: 3371

Modified:
   branches/2.0/varnish-cache/bin/varnishncsa/varnishncsa.c
Log:
Merge r3344: Use a proper format string. 


Modified: branches/2.0/varnish-cache/bin/varnishncsa/varnishncsa.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishncsa/varnishncsa.c	2008-11-10 10:09:31 UTC (rev 3370)
+++ branches/2.0/varnish-cache/bin/varnishncsa/varnishncsa.c	2008-11-10 10:10:09 UTC (rev 3371)
@@ -441,7 +441,7 @@
 		if (lp->df_Host) {
 			if (strncmp(lp->df_Host, "http://", 7) != 0)
 				fprintf(fo, "http://");
-			fprintf(fo, lp->df_Host);
+			fprintf(fo, "%s", lp->df_Host);
 		}
 		fprintf(fo, "%s ", lp->df_Uq);
 		fprintf(fo, "%s\" ", lp->df_H);




More information about the varnish-commit mailing list