mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2026-01-02 22:54:43 +03:00
fdr_confirm: clean up use of flags
This commit is contained in:
committed by
Matthew Barr
parent
c878d5ec66
commit
06bafae81d
@@ -64,7 +64,7 @@ void confWithBit(const struct FDRConfirm *fdrc, const struct FDR_Runtime_Args *a
|
||||
goto out;
|
||||
}
|
||||
|
||||
if ((*last_match == li->id) && (li->flags & NoRepeat)) {
|
||||
if ((*last_match == li->id) && (li->flags & FDR_LIT_FLAG_NOREPEAT)) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ void confWithBit1(const struct FDRConfirm *fdrc,
|
||||
} else {
|
||||
u32 id = fdrc->nBitsOrSoleID;
|
||||
|
||||
if ((*last_match == id) && (fdrc->flags & NoRepeat)) {
|
||||
if ((*last_match == id) && (fdrc->flags & FDRC_FLAG_NOREPEAT)) {
|
||||
return;
|
||||
}
|
||||
*last_match = id;
|
||||
@@ -139,7 +139,7 @@ void confWithBitMany(const struct FDRConfirm *fdrc,
|
||||
const u32 id = fdrc->nBitsOrSoleID;
|
||||
const u32 len = fdrc->soleLitSize;
|
||||
|
||||
if ((*last_match == id) && (fdrc->flags & NoRepeat)) {
|
||||
if ((*last_match == id) && (fdrc->flags & FDRC_FLAG_NOREPEAT)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user