]> git.marmaro.de Git - mmh/blobdiff - uip/dist.c
Remove RCS keywords, since they no longer work after git migration.
[mmh] / uip / dist.c
index 70e515eb611d31aa7e27240cca6fa8ec4cb98c85..4bad51ac1f4987528baaec21c41abd3ff65b431b 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * dist.c -- re-distribute a message
  *
- * $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.
@@ -180,7 +178,7 @@ main (int argc, char **argv)
            if (folder)
                adios (NULL, "only one folder at a time!");
            else
-               folder = path (cp + 1, *cp == '+' ? TFOLDER : TSUBCWF);
+               folder = pluspath (cp);
        } else {
            if (msg)
                adios (NULL, "only one message at a time!");
@@ -285,5 +283,6 @@ try_it_again:
        done (0);
     what_now (ed, nedit, NOUSE, drft, msgnam, 1, mp,
        anot ? "Resent" : NULL, inplace, cwd);
-    return done (1);
+    done (1);
+    return 1;
 }