X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6f2d14d9c38345075629af3487c2de491584ca1..bb8a255634719c63cfae1ee4d0fb12f056efa71b:/sbr/m_draft.c?ds=sidebyside diff --git a/sbr/m_draft.c b/sbr/m_draft.c index d3c5e7a7..683af25c 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -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 @@ -9,6 +7,7 @@ #include #include +#include "m_maildir.h" char * @@ -22,10 +21,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;