X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..6345e60c392bbf92b3d7ca2bba473f9da5c073ff:/sbr/refile.c diff --git a/sbr/refile.c b/sbr/refile.c index 9d7718ec..ce31273b 100644 --- a/sbr/refile.c +++ b/sbr/refile.c @@ -1,5 +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 @@ -7,8 +6,10 @@ * complete copyright information. */ -#include -#include +#include "h/mh.h" +#include "arglist.h" +#include "error.h" +#include "h/utils.h" int @@ -44,10 +45,10 @@ refile (char **arg, char *file) 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); } }