X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9a5dd65757f6dfc85b597ed93aacc6b73b99d4a2..f345b9b480296b4b6a8469d6221752893c5d1420:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index 6f8ebaf1..ca5558ae 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -2583,7 +2583,7 @@ openFTP (CT ct, char **file) /* * Now, check the answer */ - if (!getanswer (buffer)) + if (!read_yes_or_no_if_tty (buffer)) return NOTOK; if (e->eb_flags) { @@ -2770,7 +2770,7 @@ openMail (CT ct, char **file) e->eb_subject ? e->eb_subject : e->eb_body); /* Now, check answer */ - if (!getanswer (buffer)) + if (!read_yes_or_no_if_tty (buffer)) return NOTOK; vecp = 0; @@ -4334,7 +4334,7 @@ char *get_param_value(PM pm, char replace) } if (utf8) { for (++p, --inbytes; - inbytes > 0 && (((unsigned char) *q) & 0xc0) == 0x80; + inbytes > 0 && (((unsigned char) *p) & 0xc0) == 0x80; ++p, --inbytes) continue; } else {