Commit 11218c1f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Oops, missing {...}



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4902 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 00142569
......@@ -183,7 +183,7 @@ vtc_dump(struct vtclog *vl, unsigned lvl, const char *pfx, const char *str)
if (str == NULL)
vsb_printf(vl->vsb, "%s %-4s %s(null)\n",
lead[lvl], vl->id, pfx);
else
else {
l = 0;
for(; *str != '\0'; str++) {
if (++l > 512) {
......@@ -207,6 +207,7 @@ vtc_dump(struct vtclog *vl, unsigned lvl, const char *pfx, const char *str)
else
vsb_printf(vl->vsb, "%c", *str);
}
}
if (!nl)
vsb_printf(vl->vsb, "\n");
vsb_finish(vl->vsb);
......
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