X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Frefile.c;h=25f762996e163a19bf16e7fe34f5c80808c2f36b;hb=a01a41d031c796b526329a4170eb23f0ac93b949;hp=e77fe0b18230a372ac2c8526dd79338ef050bde0;hpb=8c1b8e55ba6269af3f6be282eeb7b5a19516315f;p=mmh diff --git a/uip/refile.c b/uip/refile.c index e77fe0b..25f7629 100644 --- a/uip/refile.c +++ b/uip/refile.c @@ -3,8 +3,6 @@ * refile.c -- move or link message(s) from a source folder * -- into one or more destination folders * - * $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. @@ -163,7 +161,7 @@ main (int argc, char **argv) if (foldp > NFOLDERS) adios (NULL, "only %d folders allowed!", NFOLDERS); folders[foldp++].f_name = - path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + pluspath (cp); } else app_msgarg(&msgs, cp); } @@ -266,7 +264,8 @@ main (int argc, char **argv) context_replace (pfolder, folder); /* update current folder */ context_save (); /* save the context file */ folder_free (mp); /* free folder structure */ - return done (0); + done (0); + return 1; }