X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fmatch.c;h=2ec5e03b7394c65015a91b1e908d51116702dc81;hb=8f968cb4add434c8eaf82c0d0891d5336ba4c93e;hp=ae4dbe4235729a6d1bb76ffe8ec5cf83cc616a4c;hpb=e6d0c7ab6103af206f95c1291b29c3f151a41484;p=apps%2Fpfixtools.git diff --git a/postlicyd/match.c b/postlicyd/match.c index ae4dbe4..2ec5e03 100644 --- a/postlicyd/match.c +++ b/postlicyd/match.c @@ -239,7 +239,7 @@ static inline bool match_condition(const match_condition_t *cond, const query_t break; case MATCH_EMPTY: - return !!(!!(field == NULL || *field == '\0')) ^ (!!cond->case_sensitive); + return !!((field == NULL || *field == '\0') ^ (!cond->case_sensitive)); default: assert(false && "invalid condition type");