Commit 8ef6c175 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't skip in the argument string, HEADER is a simple token.

parent 3e087be3
......@@ -601,7 +601,8 @@ vcc_Eval_Func(struct vcc *tl, struct expr **e, const struct symbol *sym)
return;
}
e1 = vcc_mk_expr(VOID, "%s, \"%s\"", v->http, v->hdr);
p += strlen(p) + 1;
if (*p != '\0')
SkipToken(tl, ',');
} else {
vcc_expr0(tl, &e1, fmt);
ERRCHK(tl);
......
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