]> git.marmaro.de Git - mmh/blobdiff - uip/comp.c
Updated the developer README with a few notes about the git conversion.
[mmh] / uip / comp.c
index 8fced484def5a5be30089c3d19a2ecd1fcd8ef09..5ebce6ed0e0855957311933e206f8691bad68491 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * comp.c -- compose 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.
@@ -172,7 +170,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!");
@@ -296,5 +294,6 @@ edit_it:
     if (nwhat)
        done (0);
     what_now (ed, nedit, use, drft, NULL, 0, NULLMP, NULL, 0, cwd);
-    return done (1);
+    done (1);
+    return 1;
 }