]> diplodocus.org Git - nmh/blobdiff - uip/msh.c
Be sure that mhfixmsg returns a status of non-zero if
[nmh] / uip / msh.c
index cdec7664827dcc7ee45ab05e89960b8b4a8c666f..3144a4932b80e0eef4e76f4d22baa1c0ecb9e426 100644 (file)
--- a/uip/msh.c
+++ b/uip/msh.c
@@ -682,8 +682,7 @@ setup (char *file)
     }
     m_init ();
 
-    mp->msgattrs[0] = getcpy ("unseen");
-    mp->msgattrs[1] = NULL;
+    svector_push_back (mp->msgattrs, getcpy ("unseen"));
 
     scan_detect_mbox_style (fp);               /* the MAGIC invocation */
     if (fmsh) {