Commit 9447159b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a missing error check.

Fixes #409



git-svn-id: http://www.varnish-cache.org/svn/trunk@3466 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bcee5e43
......@@ -251,6 +251,7 @@ Cond_String(const struct var *vp, struct tokenlist *tl)
vcc_NextToken(tl);
ExpectErr(tl, CSTR);
p = vcc_regexp(tl, 0);
ERRCHK(tl);
vcc_NextToken(tl);
Fb(tl, 1, "VRT_re_match(%s, %s)\n", vp->rname, p);
break;
......
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