X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0cebd8284370988c8b1807ef2544bd80804d074e..11cf7b43a23ad3e3b7d80e485c90c4e0ab9b6066:/uip/folder.c diff --git a/uip/folder.c b/uip/folder.c index b332af06..f50d3f51 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -135,7 +135,6 @@ main (int argc, char **argv) int pushsw = 0, popsw = 0; char *cp, *dp, *msg = NULL, *argfolder = NULL; char **ap, **argp, buf[BUFSIZ], **arguments; - struct stat st; #ifdef LOCALE setlocale(LC_ALL, ""); @@ -260,7 +259,7 @@ main (int argc, char **argv) if (argfolder) adios (NULL, "only one folder at a time!"); else - argfolder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF); + argfolder = pluspath (cp); } else { if (msg) adios (NULL, "only one (current) message at a time!"); @@ -406,7 +405,8 @@ main (int argc, char **argv) print_folders(); context_save (); /* save the context file */ - return done (0); + done (0); + return 1; } /*