]> diplodocus.org Git - nmh/blobdiff - uip/repl.c
Oops, fc31cece had a syntax error that gcc ignored, clang doesn't.
[nmh] / uip / repl.c
index ebe72ff2bbd1cb2d3f8e8c1b4d4a05c7ff55d03a..5686b5bf5e6c8ec0e43caed6043aed82f6cc2dc1 100644 (file)
@@ -370,7 +370,8 @@ try_it_again:
     if (!buildsw && stat (drft, &st) != NOTOK) {
        printf ("Draft \"%s\" exists (%ld bytes).", drft, (long) st.st_size);
        for (i = LISTDSW; i != YESW;) {
-           if (!(argp = getans ("\nDisposition? ", isdf ? aqrnl : aqrl)))
+           if (!(argp = read_switch_multiword ("\nDisposition? ",
+                                               isdf ? aqrnl : aqrl)))
                done (1);
            switch (i = smatch (*argp, isdf ? aqrnl : aqrl)) {
                case NOSW: