From: Justin Viiret Date: Sun, 17 Jan 2016 22:18:19 +0000 (+1100) Subject: roseEodRunMatcher: correct early return value X-Git-Tag: v4.2.0^2~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b36197df26b0534ab254629364d5c674d7f56c47;p=thirdparty%2Fvectorscan.git roseEodRunMatcher: correct early return value --- diff --git a/src/rose/eod.c b/src/rose/eod.c index 93787137..3ababb83 100644 --- a/src/rose/eod.c +++ b/src/rose/eod.c @@ -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