X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/aaf70a50e13231ba06df17d79147ac0d7fed6d91..12743cc332ded92cced6162ea1baa7e2c402fa86:/uip/inc.c diff --git a/uip/inc.c b/uip/inc.c index f1bafd90..bf382544 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -69,7 +69,7 @@ X("width columns", 0, WIDTHSW) \ X("version", 0, VERSIONSW) \ X("help", 0, HELPSW) \ - X("snoop", -5, SNOOPSW) \ + X("snoop", 0, SNOOPSW) \ X("sasl", SASLminc(5), SASLSW) \ X("nosasl", SASLminc(3), NOSASLSW) \ X("saslmech", SASLminc(5), SASLMECHSW) \ @@ -211,7 +211,7 @@ main (int argc, char **argv) if (nmh_init(argv[0], 1)) { return 1; } - mts_init (invo_name); + mts_init (); arguments = getarguments (invo_name, argc, argv, 1); argp = arguments; @@ -605,7 +605,7 @@ go_to_it: if (errno != ENOENT) adios (packfile, "error on file"); cp = concat ("Create file \"", packfile, "\"? ", NULL); - if (noisy && !getanswer (cp)) + if (noisy && !read_yes_or_no_if_tty (cp)) done (1); free (cp); }