[bug #4302] errno is not always an extern int
[mmh] / uip / mhstoresbr.c
index d91b7b4..fc78ac1 100644 (file)
@@ -21,7 +21,6 @@
 #include <h/mime.h>
 #include <h/mhparse.h>
 
-extern int errno;
 
 /*
  * The list of top-level contents to display
@@ -921,7 +920,7 @@ output_content_folder (char *folder, char *filename)
     /* Read the folder. */
     if ((mp = folder_read (folder))) {
        /* Link file into folder */
-       msgnum = folder_addmsg (&mp, filename, 0, 0, 0);
+       msgnum = folder_addmsg (&mp, filename, 0, 0, 0, 0);
     } else {
        advise (NULL, "unable to read folder %s", folder);
        return NOTOK;