Explicit checks for return values of strcmp().
[mmh] / uip / whatnowsbr.c
index 0699fce..8eeed10 100644 (file)
@@ -828,7 +828,7 @@ sendfile(char **arg, char *file, int pushsw)
        char *cp, *sp, *vec[MAXARGS];
 
        /* Translate MIME composition file, if necessary */
-       if ((cp = context_find("automimeproc")) && (!strcmp(cp, "1")) &&
+       if ((cp = context_find("automimeproc")) && (strcmp(cp, "1")==0) &&
                        !getenv("NOMHNPROC") && check_draft(file) &&
                        (buildfile(NULL, file) == NOTOK))
                return 0;