X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fdist.c;h=4bad51ac1f4987528baaec21c41abd3ff65b431b;hb=ecc90fb56b43863f4c33ed62da4abe898b17d7fb;hp=70e515eb611d31aa7e27240cca6fa8ec4cb98c85;hpb=b439ec143c4d2e2daf4b0a9c332123f24500cd9a;p=mmh diff --git a/uip/dist.c b/uip/dist.c index 70e515e..4bad51a 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; }