diff --git a/mbfido/queue.c b/mbfido/queue.c index 457fac28..ac93e68d 100644 --- a/mbfido/queue.c +++ b/mbfido/queue.c @@ -551,9 +551,9 @@ void flush_dir(char *ndir) } p = strchr(p, ' '); p++; - if (strncmp(p, "NOR ", 4)) + if (strncmp(p, "NOR ", 4) == 0) fdn = FALSE; - else if (strncmp(p, "FDN ", 4)) + else if (strncmp(p, "FDN ", 4) == 0) fdn = TRUE; else fdn = FALSE;