Commit 5b17fb21 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Fix logexp record length to account for terminating zero.

This makes it possible to anchor regex's at the end again.
parent 631f23e6
......@@ -196,7 +196,7 @@ logexp_dispatch(struct VSL_data *vsl, struct VSL_transaction * const pt[],
vxid = VSL_ID(t->c->rec.ptr);
tag = VSL_TAG(t->c->rec.ptr);
data = VSL_CDATA(t->c->rec.ptr);
len = VSL_LEN(t->c->rec.ptr);
len = VSL_LEN(t->c->rec.ptr) - 1;
if (tag == SLT__Batch)
continue;
......
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