X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/36672e5977cdfee454f5ccb1946a19cd43ec5ba0..dbdbd49d59ae5c14e66b1c148a63b8abc9d076ab:/uip/mhshowsbr.c diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index b669ad53..5d664090 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -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);