-
-/*
- * folder_delmsgs.c -- "remove" SELECTED messages from a folder
+/* folder_delmsgs.c -- "remove" SELECTED messages from a folder
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
#include <h/mh.h>
#include <h/utils.h>
+#include "m_mktemp.h"
/*
* 1) If we are using an external rmmproc, then exec it.
default:
arglist_free(prog, vec);
- return (pidwait (pid, -1));
+ return pidwait(pid, -1);
}
}
if (!nohook) {
(void)snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum);
- (void)ext_hook("del-hook", msgpath, (char *)0);
+ (void)ext_hook("del-hook", msgpath, NULL);
}
dp = m_name (msgnum);