mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 18:00:12 +01:00
Fixed signedness of count_match()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
3cf2102238
commit
11a78de0c8
@ -194,8 +194,8 @@ struct rule *create_rule_item(struct rule_cond *rule_cond){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
unsigned int count_match(struct rule *p, struct parser_state *state, int size, int spam){
|
int count_match(struct rule *p, struct parser_state *state, int size, int spam){
|
||||||
unsigned int ismatch=0;
|
int ismatch=0;
|
||||||
size_t nmatch=0;
|
size_t nmatch=0;
|
||||||
|
|
||||||
ismatch += check_spam_rule(spam, p->spam);
|
ismatch += check_spam_rule(spam, p->spam);
|
||||||
|
Loading…
Reference in New Issue
Block a user