]> diplodocus.org Git - nmh/blobdiff - sbr/m_draft.c
Added remedy for compile warnings when built with --with-tls on
[nmh] / sbr / m_draft.c
index d3e988edd5925d4527b6b733f6e2949a6bf29a3c..9d28606c7c99cc42ba942724adff5cda0ea32200 100644 (file)
@@ -2,8 +2,6 @@
 /*
  * 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.
@@ -11,7 +9,6 @@
 
 #include <h/mh.h>
 #include <h/utils.h>
-#include <errno.h>
 
 
 char *
@@ -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);
 
     /*