]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
Change things so we can take two file descriptors, one for input
[nmh] / sbr / context_read.c
index 803406881024fc8dfe8883911e50ae8d88f8931a..de14b0d560920aec7b7fb7231b394536b5d24d71 100644 (file)
@@ -107,7 +107,7 @@ context_read (void)
 
        cp = concat ("Your MH-directory \"", nd, "\" doesn't exist; Create it? ", NULL);
 
-       if (!getanswer(cp))
+       if (!read_yes_or_no_if_tty(cp))
            adios (NULL, "unable to access MH-directory \"%s\"", nd);
 
        free (cp);