X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Ffolder.c;h=f50d3f51c4d51d8aba4619a068739acbbfc29d2f;hb=c79c37f2b6e647212c36b63841a4628af01c774a;hp=b332af06110b092534c4e33a81f54318457f0047;hpb=0cebd8284370988c8b1807ef2544bd80804d074e;p=mmh diff --git a/uip/folder.c b/uip/folder.c index b332af0..f50d3f5 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; } /*