From 59217d947a9c179a4bff9283774ccf6af6c0880c Mon Sep 17 00:00:00 2001 From: des Date: Mon, 20 Oct 2008 20:19:12 +0000 Subject: [PATCH] Use a proper format string. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3344 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 33d640a9..7cf88a55 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