]> diplodocus.org Git - nmh/blobdiff - uip/folder.c
Provide SASL_CB_AUTHNAME callback (avoids problem with wrong username
[nmh] / uip / folder.c
index 98c66ed627db5e72f169c82d15f07d6f2eccbe6a..f50d3f51c4d51d8aba4619a068739acbbfc29d2f 100644 (file)
@@ -259,7 +259,7 @@ main (int argc, char **argv)
            if (argfolder)
                adios (NULL, "only one folder at a time!");
            else
            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!");
        } else {
            if (msg)
                adios (NULL, "only one (current) message at a time!");
@@ -405,7 +405,8 @@ main (int argc, char **argv)
     print_folders();
 
     context_save ();   /* save the context file */
     print_folders();
 
     context_save ();   /* save the context file */
-    return done (0);
+    done (0);
+    return 1;
 }
 
 /*
 }
 
 /*