X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/840b3f0e45a43b8378e88c66f004b2f186662e35..07dbafdaf673d7f20d7f93ab4e8e42c6c7f00a2d:/uip/dist.c?ds=sidebyside diff --git a/uip/dist.c b/uip/dist.c index 09c501a8..f846b74d 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -218,7 +218,7 @@ main (int argc, char **argv) } } - cwd = getcpy (pwd ()); + cwd = mh_xstrdup(pwd ()); if (!context_find ("path")) free (path ("./", TFOLDER)); @@ -292,7 +292,7 @@ try_it_again: adios (NULL, "only one message at a time!"); } - msgnam = file ? file : getcpy (m_name (mp->lowsel)); + msgnam = file ? file : mh_xstrdup(m_name (mp->lowsel)); dat[0] = mp ? mp->lowsel : 0; dat[1] = 0;