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

Add a missing error check.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3002 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 396b0451
......@@ -108,7 +108,11 @@ parse_error(struct tokenlist *tl)
vcc_NextToken(tl);
} else if (tl->t->tok == VAR) {
Fb(tl, 0, ", ");
vcc_StringVal(tl);
if (!vcc_StringVal(tl)) {
ERRCHK(tl);
vcc_ExpectedStringval(tl);
return;
}
} else {
Fb(tl, 0, ", (const char *)0");
}
......
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