X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6c42153ad9362cc676ea66563bf400d7511b3b68..8b4410a1f3cb75e3d92b61176397655d509f81ee:/uip/repl.c diff --git a/uip/repl.c b/uip/repl.c index b1c0782f..4584b674 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -10,6 +10,7 @@ */ #include +#include static struct swit switches[] = { @@ -318,7 +319,7 @@ main (int argc, char **argv) if (folder) adios (NULL, "only one folder at a time!"); else - folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + folder = pluspath (cp); } else { if (msg) adios (NULL, "only one message at a time!"); @@ -441,7 +442,8 @@ try_it_again: done (0); what_now (ed, nedit, NOUSE, drft, msg, 0, mp, anot ? "Replied" : NULL, inplace, cwd); - return done (1); + done (1); + return 1; } void