* docs/MAIL.FILTERING: added note on removing procmail -f or
[mmh] / uip / refile.c
index e77fe0b..7bc6d0b 100644 (file)
@@ -163,7 +163,7 @@ main (int argc, char **argv)
            if (foldp > NFOLDERS)
                adios (NULL, "only %d folders allowed!", NFOLDERS);
            folders[foldp++].f_name =
-               path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+               pluspath (cp);
        } else
                app_msgarg(&msgs, cp);
     }
@@ -266,7 +266,8 @@ main (int argc, char **argv)
     context_replace (pfolder, folder); /* update current folder   */
     context_save ();                   /* save the context file   */
     folder_free (mp);                  /* free folder structure   */
-    return done (0);
+    done (0);
+    return 1;
 }