]> diplodocus.org Git - nmh/blobdiff - uip/mhstoresbr.c
* patch #3966: Create a mh_xmalloc function to prevent mistakes when
[nmh] / uip / mhstoresbr.c
index 41aa1a4c15a3823925395e3043357f455fa1e7f9..72694b673ef0b40468249748af13fbd7c353e265 100644 (file)
@@ -3,6 +3,10 @@
  * mhstoresbr.c -- routines to save/store the contents of MIME messages
  *
  * $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 <h/mh.h>
 #include <errno.h>
 #include <setjmp.h>
 #include <signal.h>
-#include <zotnet/mts/mts.h>
-#include <zotnet/tws/tws.h>
+#include <h/mts.h>
+#include <h/tws.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
 
-extern int errno;
 
 /*
  * The list of top-level contents to display
@@ -917,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, (char *)0);
     } else {
        advise (NULL, "unable to read folder %s", folder);
        return NOTOK;