vec[vecp] = NULL;
fflush(stdout);
- vec[0] = r1bindex(rmmproc, '/');
+ vec[0] = mhbasename(rmmproc);
switch (pid = vfork()) {
case -1:
*/
if (!nohook) {
- (void)snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum);
- (void)ext_hook("del-hook", msgpath, (char *)0);
+ snprintf(msgpath, sizeof (msgpath), "%s/%d",
+ mp->foldpath, msgnum);
+ ext_hook("del-hook", msgpath, NULL);
}
dp = m_name(msgnum);