X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frepl.c;h=4584b6743a7f5a51d02b53e078c1476621231664;hp=d3a8d078ad60d566fc5ddb8a126f1eb8ec81335e;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=264318e5898da32e9a0e3ec2b4c69185db89bb8a diff --git a/uip/repl.c b/uip/repl.c index d3a8d07..4584b67 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -3,9 +3,14 @@ * repl.c -- reply to a message * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include +#include static struct swit switches[] = { @@ -62,7 +67,7 @@ static struct swit switches[] = { #define VERSIONSW 25 { "version", 0 }, #define HELPSW 26 - { "help", 4 }, + { "help", 0 }, #define FILESW 27 { "file file", 4 }, /* interface from msh */ @@ -314,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!"); @@ -437,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