X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/08aa8c17c3241bb5c6a997ed2e01e25a4d0089ce..e6917522a770cf2dba9997ca047977bc55fac061:/sbr/m_draft.c diff --git a/sbr/m_draft.c b/sbr/m_draft.c index b0168e2e..9d28606c 100644 --- a/sbr/m_draft.c +++ b/sbr/m_draft.c @@ -2,15 +2,13 @@ /* * m_draft.c -- construct the name of a draft 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. */ #include -#include +#include char * @@ -18,7 +16,6 @@ m_draft (char *folder, char *msg, int use, int *isdf) { register char *cp; register struct msgs *mp; - struct stat st; static char buffer[BUFSIZ]; if (*isdf == -1 || folder == NULL || *folder == '\0') { @@ -40,7 +37,7 @@ m_draft (char *folder, char *msg, int use, int *isdf) if (chdir (buffer) == -1) adios (buffer, "unable to change directory to"); - if (!(mp = folder_read (folder))) + if (!(mp = folder_read (folder, 1))) adios (NULL, "unable to read folder %s", folder); /*