]> diplodocus.org Git - nmh/blobdiff - sbr/refile.c
mhbuildsbr.c: Flip logic, moving goto to then-block; no need for else.
[nmh] / sbr / refile.c
index 43ad908e1b61faa4d4a937ceeec3bca348a05d4f..4ba4908ad93acf61df0acf90b74eb9fe95009f0b 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;