Commit 7e32b979 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Use a proper format string.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3344 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3bf72484
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment