X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fmatch.c;h=2ec5e03b7394c65015a91b1e908d51116702dc81;hb=ddf3e587c41536baad71de4008eafd64b8c00d58;hp=ae4dbe4235729a6d1bb76ffe8ec5cf83cc616a4c;hpb=d39a00392903e1a3f029ec9533abf9f11835ffd3;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");