Commit 0d170740 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Oops: only whine when we do have an unterminated strin



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2820 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent a219f783
......@@ -133,7 +133,8 @@ parse_string(char *buf, const struct cmds *cmd, void *priv)
*q++ = '"';
p++;
} else {
fprintf(stderr, "Unterminated quoted string\n");
if (*p == '\n')
fprintf(stderr, "Unterminated quoted string\n");
assert(*p != '\n');
*q++ = *p;
}
......
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