X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhpath.c;h=bb77996cfa4456bc612bf10b75743c2caff4ddd4;hb=ab3e934551e83f49a04975b05c11c1b3d5768642;hp=3974515d961016d72be74d013b96472c8413632a;hpb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814;p=mmh diff --git a/uip/mhpath.c b/uip/mhpath.c index 3974515..bb77996 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. @@ -57,10 +55,10 @@ main(int argc, char **argv) snprintf (buf, sizeof(buf), "%s [+folder] [msgs] [switches]", invo_name); print_help (buf, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); } } if (*cp == '+' || *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; }