Skip to content

Commit

Permalink
detect: make SigMatch.is_last bool
Browse files Browse the repository at this point in the history
It is used like bool so much so that nothing needs to be changed even
after changing its type.
  • Loading branch information
inashivb authored and victorjulien committed Jan 17, 2024
1 parent 588af05 commit 26b81ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detect.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ typedef struct SigMatch_ {
/** \brief Data needed for Match() */
typedef struct SigMatchData_ {
uint16_t type; /**< match type */
uint8_t is_last; /**< Last element of the list */
bool is_last; /**< Last element of the list */
SigMatchCtx *ctx; /**< plugin specific data */
} SigMatchData;

Expand Down

0 comments on commit 26b81ca

Please sign in to comment.