Commit a3756e2e authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't forget final NL

parent 0d400c38
......@@ -598,7 +598,7 @@ VSB_quote_pfx(struct vsb *s, const char *pfx, const void *v, int len, int how)
}
if (how & VSB_QUOTE_CSTR)
(void)VSB_putc(s, '"');
if ((how & VSB_QUOTE_NONL) && !nl)
if ((how & (VSB_QUOTE_NONL|VSB_QUOTE_UNSAFE)) && !nl)
(void)VSB_putc(s, '\n');
}
......
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