X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/376e8ae431ea3c23ff1940f66be6eb8f7ff2f1fe..c347c3bbba2b3eea2442b641a11a381dea709cd8:/uip/mhn.c diff --git a/uip/mhn.c b/uip/mhn.c index a3f10305..dd3cf871 100644 --- a/uip/mhn.c +++ b/uip/mhn.c @@ -1,6 +1,4 @@ - -/* - * mhn.c -- display, list, cache, or store the contents of MIME messages +/* mhn.c -- display, list, cache, or store the contents of MIME messages * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -370,7 +368,7 @@ do_cache: /* * Cache the current directory before we do any chdirs()'s. */ - cwd = add(pwd(), NULL); + cwd = mh_xstrdup(pwd()); if (!context_find ("path")) free (path ("./", TFOLDER));