]> diplodocus.org Git - nmh/blobdiff - uip/mhmisc.c
Remove unused NCWD and NPWD #defines.
[nmh] / uip / mhmisc.c
index 8b1f0d00536ae0f5128c118629c7600281ca938b..fddf284dd02914efbbd8f80f47a2ae74e14bc8b8 100644 (file)
@@ -122,8 +122,7 @@ is_inline(CT ct)
 
     if (! ct->c_dispo_type || strcasecmp(ct->c_dispo_type, "inline") == 0)
        return 1;
-    else
-       return 0;
+    return 0;
 }
 
 int
@@ -146,7 +145,7 @@ losing_directory:
            }
 
            ep = concat ("Create directory \"", file, "\"? ", NULL);
-           answer = getanswer (ep);
+           answer = read_yes_or_no_if_tty (ep);
            free (ep);
 
            if (!answer)