-/*
- * 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
* complete copyright information.
*/
-#include <h/mh.h>
-#include <h/utils.h>
+#include "h/mh.h"
+#include "arglist.h"
+#include "error.h"
+#include "h/utils.h"
int
execvp (program, vec);
fprintf (stderr, "unable to exec ");
perror (fileproc);
- _exit (-1);
+ _exit(1);
default:
arglist_free(program, vec);
- return (pidwait (pid, -1));
+ return pidwait(pid, -1);
}
}