X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhpath.c;h=23ca5428582556902a7b7c739b0dd350f21c6a26;hb=f480c03187724e54e5391ee61b810827da319a6c;hp=00983d52b4d091554743ec39bd26ec1302610b0a;hpb=174d375bb4b9bcaa0c3f28c422216f68703494a8;p=mmh diff --git a/uip/mhpath.c b/uip/mhpath.c index 00983d5..23ca542 100644 --- a/uip/mhpath.c +++ b/uip/mhpath.c @@ -2,8 +2,6 @@ /* * mhpath.c -- print full pathnames of nmh messages and 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. @@ -67,7 +65,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); } @@ -123,5 +121,6 @@ main(int argc, char **argv) seq_save (mp); /* synchronize message sequences */ context_save (); /* save the context file */ folder_free (mp); /* free folder/message structure */ - return done (0); + done (0); + return 1; }