]> diplodocus.org Git - nmh/blobdiff - uip/mhtest.c
Reworked attach to add charset to Content-Type string for
[nmh] / uip / mhtest.c
index 44cc3b23b7930aa4f370000723da8213bf88435d..49d2a981a08c6c3c6747834f92184eaa83164f4b 100644 (file)
@@ -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>
@@ -83,7 +81,6 @@ int type_ok (CT, int);
 void flush_errors (void);
 
 /* mhfree.c */
-void free_content (CT);
 extern CT *cts;
 void freects_done (int) NORETURN;
 
@@ -271,7 +268,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 */