X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1691e80890e5d8ba258c51c214a3e91880e1db2b..678a7a83f08b7a3f6cf3a11ea580cd69566eaf1b:/uip/folder.c diff --git a/uip/folder.c b/uip/folder.c index c023e114..7706f90f 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -5,6 +5,10 @@ * -- list the folder stack * * $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. */ #include @@ -58,7 +62,7 @@ static struct swit switches[] = { #define VERSIONSW 22 { "version", 0 }, #define HELPSW 23 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; @@ -421,7 +425,7 @@ main (int argc, char **argv) print_folders(); context_save (); /* save the context file */ - done (0); + return done (0); } /* @@ -814,10 +818,6 @@ readonly_folders (void) char atrcur[BUFSIZ]; register struct node *np; - /* sanity check - check that context has been read */ - if (defpath == NULL) - adios (NULL, "oops, context hasn't been read yet"); - snprintf (atrcur, sizeof(atrcur), "atr-%s-", current); atrlen = strlen (atrcur);