EQUALS was actually UNEQUALS (WTF?!)

This commit is contained in:
leitner
2005-03-16 15:47:01 +00:00
parent 864895f714
commit c92b5180d7

View File

@@ -72,7 +72,7 @@ static inline int matchint(struct Filter* f,const char* t) {
r=matchcasestring(&f->ava.value,t);
else
r=matchstring(&f->ava.value,t);
if (f->type==EQUAL) return (r!=0);
if (f->type==EQUAL) return (r==0);
if (f->type==LESSEQUAL) return (r>0);
return (r<0);
}