Commit 18266c8b authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Make field match failure ignore the record rather than assert

parent 885e5f1f
......@@ -210,7 +210,8 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
if (tag == (unsigned)match_tag) {
i = sscanf(VSL_CDATA(tr->c->rec.ptr), format,
&value);
assert(i == 1);
if (i != 1)
continue;
} else if (tag == SLT_Hit)
hit = 1;
if (tag != SLT_ReqEnd && value == -1)
......
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