X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frepl.c;h=d2b75df9ca22ecbfdd9c3a4196934aad839637be;hp=f6d32d30ca6ba6e891bb11e68105ef6ea048791c;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=017a82124bf2ea39ced5aa4c8f969c18b3c2fb90 diff --git a/uip/repl.c b/uip/repl.c index f6d32d3..d2b75df 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -2,10 +2,13 @@ /* * 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[] = { @@ -314,7 +317,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 +440,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