mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
roseEodRunMatcher: correct early return value
This commit is contained in:
parent
621dfbebb7
commit
b36197df26
@ -84,7 +84,7 @@ hwlmcb_rv_t roseEodRunMatcher(const struct RoseEngine *t, u64a offset,
|
|||||||
if (eod_len < t->eodmatcherMinWidth) {
|
if (eod_len < t->eodmatcherMinWidth) {
|
||||||
DEBUG_PRINTF("len=%zu < eodmatcherMinWidth=%u\n", eod_len,
|
DEBUG_PRINTF("len=%zu < eodmatcherMinWidth=%u\n", eod_len,
|
||||||
t->eodmatcherMinWidth);
|
t->eodmatcherMinWidth);
|
||||||
return MO_CONTINUE_MATCHING;
|
return HWLM_CONTINUE_MATCHING;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that we only need scan the last N bytes, where N is the length of
|
// Ensure that we only need scan the last N bytes, where N is the length of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user