Commit 09ed4039 authored by Nils Goroll's avatar Nils Goroll

ESI parsing debug code for VEP_MATCHBUF state

ESI Debugging code is disabled unless the Debug macro at the top of the file is changed.
parent b8272f25
......@@ -932,6 +932,13 @@ VEP_Parse(struct vep_state *vep, const char *p, size_t l)
memcpy(vep->tag + vep->tag_i, p, i);
vm = vep_match(vep, vep->tag,
vep->tag + vep->tag_i + i);
Debug("MB (%.*s) tag_i %d i %d = vm %p match %s\n",
vep->tag_i + i, vep->tag,
vep->tag_i,
i,
vm,
vm ? vm->match : "(nil)");
if (vm == NULL) {
vep->tag_i += i;
p += i;
......
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