]> diplodocus.org Git - nmh/blobdiff - sbr/m_draft.c
uip/sortm.c: Remove unused variable and dlocaltimenow() call.
[nmh] / sbr / m_draft.c
index d3c5e7a..71095a9 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * m_draft.c -- construct the name of a draft message
+/* m_draft.c -- construct the name of a draft message
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -22,10 +20,10 @@ m_draft (char *folder, char *msg, int use, int *isdf)
        if (*isdf == -1 || (cp = context_find ("Draft-Folder")) == NULL) {
            *isdf = 0;
            return m_maildir (msg && *msg ? msg : draft);
-       } else {
-           folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp,
-                   *cp != '@' ? TFOLDER : TSUBCWF);
        }
+
+        folder = path (*cp == '+' || *cp == '@' ? cp + 1 : cp,
+                *cp != '@' ? TFOLDER : TSUBCWF);
     }
     *isdf = 1;