X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b439ec143c4d2e2daf4b0a9c332123f24500cd9a..8ae191f927b3e294b7a50124b8c806365c4dbeb8:/uip/dist.c diff --git a/uip/dist.c b/uip/dist.c index 70e515eb..4bad51ac 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -2,8 +2,6 @@ /* * dist.c -- re-distribute 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. @@ -180,7 +178,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!"); @@ -285,5 +283,6 @@ try_it_again: done (0); what_now (ed, nedit, NOUSE, drft, msgnam, 1, mp, anot ? "Resent" : NULL, inplace, cwd); - return done (1); + done (1); + return 1; }