]> git.marmaro.de Git - mmh/blobdiff - uip/pick.c
fix logic bug in pick GREPaction
[mmh] / uip / pick.c
index 12b2bd7077dcbf8570272a093dadcb0f16803d3e..7f0d3a9a256f040a44f0cc7d393617feac5f92b5 100644 (file)
@@ -1095,7 +1095,7 @@ GREPaction(struct field *f, int msgnum, void *data)
        }
 
        /* check for the right field */
-       if (g->header && *g->header && mh_strcasecmp(g->header, f->name)==0) {
+       if (!(g->header && *g->header && mh_strcasecmp(g->header, f->name)==0)) {
                return FALSE;
        }