]> diplodocus.org Git - nmh/blobdiff - uip/mhshowsbr.c
nmh_init(): Replace integer parameter with two bools.
[nmh] / uip / mhshowsbr.c
index b669ad53166756dc734b195e87da4b450570575b..5d664090a839edebd8f7794a380687e729f5b46f 100644 (file)
@@ -101,7 +101,7 @@ show_all_messages(CT *cts, int concat, int textonly, int inlineonly)
      * for showing headers of MIME messages.
      */
     if (!formsw)
-       formsw = getcpy (etcpath ("mhl.headers"));
+       formsw = mh_xstrdup(etcpath("mhl.headers"));
 
     /*
      * Compile the content marker and header format lines
@@ -1084,7 +1084,7 @@ convert_charset (CT ct, char *dest_charset, int *message_mods) {
         }
 
         if ((tempfile = m_mktemp2 (NULL, invo_name, &fd, NULL)) == NULL) {
-            adios (NULL, "unable to create temporary file in %s",
+            die("unable to create temporary file in %s",
                    get_temp_dir());
         }
         dest = mh_xstrdup(tempfile);