From 4bc629c50133f73d4783617354f29df2bc967747 Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 10 Nov 2008 10:10:09 +0000 Subject: [PATCH] Merge r3344: Use a proper format string. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3371 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishncsa/varnishncsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishncsa/varnishncsa.c b/varnish-cache/bin/varnishncsa/varnishncsa.c index 69b8df56..4655767e 100644 --- a/varnish-cache/bin/varnishncsa/varnishncsa.c +++ b/varnish-cache/bin/varnishncsa/varnishncsa.c @@ -441,7 +441,7 @@ h_ncsa(void *priv, enum shmlogtag tag, unsigned fd, 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); -- 2.39.5