X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/98e0149bd139b5eb98a89b418b08ec5e6861b7cb..f34427874df972004ce8a285145f6fc738f08595:/uip/inc.c diff --git a/uip/inc.c b/uip/inc.c index 1e9f3c60..62c56eb1 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -653,7 +653,7 @@ go_to_it: adios (packfile, "write error on"); fseek (pf, start, SEEK_SET); } else { - cp = getcpy (m_name (msgnum)); + cp = mh_xstrdup(m_name (msgnum)); if ((pf = fopen (cp, "w+")) == NULL) adios (cp, "unable to write"); chmod (cp, m_gmprot ()); @@ -800,7 +800,7 @@ go_to_it: msgnum++; sp = Maildir[i].filename; - cp = getcpy (m_name (msgnum)); + cp = mh_xstrdup(m_name (msgnum)); pf = NULL; if (!trnflag || link(sp, cp) == -1) { static char buf[65536];