X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_delmsgs.c;h=d6e63b6ccc0c43ca98e9ddc3cbfa1d12f6b1beb2;hb=67411b1f95d6ec987b4c732459e1ba8a8ac192c6;hp=e9257bd7ad0ef2c4517ad1d4c008650bf96c8222;hpb=246ca516a0f7b870316116bc184347b0fb2bc00b;p=mmh diff --git a/sbr/folder_delmsgs.c b/sbr/folder_delmsgs.c index e9257bd..d6e63b6 100644 --- a/sbr/folder_delmsgs.c +++ b/sbr/folder_delmsgs.c @@ -56,7 +56,7 @@ folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook) fflush(stdout); vec[0] = mhbasename(rmmproc); - switch (pid = vfork()) { + switch (pid = fork()) { case -1: advise("fork", "unable to"); return -1; @@ -94,7 +94,7 @@ folder_delmsgs(struct msgs *mp, int unlink_msgs, int nohook) if (!nohook) { snprintf(msgpath, sizeof (msgpath), "%s/%d", mp->foldpath, msgnum); - ext_hook("del-hook", msgpath, (char *)0); + ext_hook("del-hook", msgpath, NULL); } dp = m_name(msgnum);