]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
Reworked attach to add charset to Content-Type string for
[nmh] / uip / mhn.c
index 217373992a9b5e2b265160a40512915fe74d60bd..b2db30705c2ae8a388be65696a382b0d15f064e8 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -11,8 +11,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
-#include <errno.h>
-#include <signal.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -147,7 +145,6 @@ void store_all_messages (CT *);
 void cache_all_messages (CT *);
 
 /* mhfree.c */
-void free_content (CT);
 extern CT *cts;
 void freects_done (int) NORETURN;
 
@@ -513,7 +510,7 @@ do_cache:
            adios (maildir, "unable to change directory to");
 
        /* read folder and create message structure */
-       if (!(mp = folder_read (folder)))
+       if (!(mp = folder_read (folder, 1)))
            adios (NULL, "unable to read folder %s", folder);
 
        /* check for empty folder */