X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/a7c1ec95e26ca515d95bfda1e260e3827ba25a1e..af9b66336bdbd198f3b1e7bca82e3d1278f27664:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index d3b8504e..13fa3b7c 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -209,7 +209,7 @@ do_cache: if (!(cp = *argp++) || *cp == '-') adios (NULL, "missing argument to %s", argp[-2]); free(formsw); - formsw = getcpy (etcpath (cp)); + formsw = mh_xstrdup(etcpath(cp)); continue; case HEADSW: @@ -308,7 +308,7 @@ do_cache: /* Check for private cache location */ if (!(cache_private = context_find (nmhprivcache))) cache_private = ".cache"; - cache_private = getcpy (m_maildir (cache_private)); + cache_private = mh_xstrdup(m_maildir(cache_private)); if (!context_find ("path")) free (path ("./", TFOLDER));