roseEodRunMatcher: correct early return value

This commit is contained in:
Justin Viiret 2016-01-18 09:18:19 +11:00 committed by Matthew Barr
parent 621dfbebb7
commit b36197df26

View File

@ -84,7 +84,7 @@ hwlmcb_rv_t roseEodRunMatcher(const struct RoseEngine *t, u64a offset,
if (eod_len < t->eodmatcherMinWidth) {
DEBUG_PRINTF("len=%zu < eodmatcherMinWidth=%u\n", eod_len,
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