X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmark.c;h=dd09b4881a3e9ed89e18a4542425d69053779d0d;hp=e26ca6a5938e0579a354d248eb900a994f1d0f62;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8 diff --git a/uip/mark.c b/uip/mark.c index e26ca6a..dd09b48 100644 --- a/uip/mark.c +++ b/uip/mark.c @@ -4,8 +4,6 @@ * -- delete messages (s) from sequences in given folder * -- list sequences in given folder * - * $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. @@ -137,7 +135,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 app_msgarg(&msgs, cp); } @@ -228,7 +226,8 @@ main (int argc, char **argv) context_replace (pfolder, folder); /* update current folder */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - return done (0); + done (0); + return 1; }