]> diplodocus.org Git - nmh/blobdiff - uip/refile.c
sbr/dtime.c: Remove struct-assigning twscopy().
[nmh] / uip / refile.c
index 6f8438d0b8a882566fb98871df75eb6e704904ff..ec539013ee170fcc73fca00b007c6579e85b24aa 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * refile.c -- move or link message(s) from a source folder
+/* refile.c -- move or link message(s) from a source folder
  *          -- into one or more destination folders
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -217,7 +215,7 @@ main (int argc, char **argv)
      */
     for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {
        if (is_selected (mp, msgnum)) {
-           cp = getcpy (m_name (msgnum));
+           cp = mh_xstrdup(m_name (msgnum));
            if (m_file (mp, cp, retainseqs ? msgnum : 0, folders, foldp,
                         preserve, !linkf))
                done (1);