]> diplodocus.org Git - nmh/blobdiff - sbr/refile.c
sh scripts: Remove `else' after exit at end of then-block.
[nmh] / sbr / refile.c
index 43ad908..4ba4908 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * refile.c -- call the "fileproc" to refile the
+/* refile.c -- call the "fileproc" to refile the
  *          -- msg or draft into another folder
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -29,7 +27,7 @@ refile (char **arg, char *file)
 
     if (arg) {
        while (*arg)
-           vec[vecp++] = *arg++;
+           vec[vecp++] = mh_xstrdup(*arg++);
     }
     vec[vecp] = NULL;