X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffolder_delmsgs.c;h=c1416a6fb8557ea1ea5b094be18af962703b56ad;hb=a8a488a128a8124503d01da632c7290f6abc0752;hp=b812def1a6eedce82cddf05e704fe9a56084b3a4;hpb=4548981fb45fbc917cc2c26b7c96b31cfa14bc9b;p=mmh diff --git a/sbr/folder_delmsgs.c b/sbr/folder_delmsgs.c index b812def..c1416a6 100644 --- a/sbr/folder_delmsgs.c +++ b/sbr/folder_delmsgs.c @@ -40,9 +40,6 @@ folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook) /* Mark that the sequence information has changed */ mp->msgflags |= SEQMOD; - if (mp->numsel > MAXARGS - 2) - adios (NULL, "more than %d messages for %s exec", MAXARGS - 2, - rmmproc); vec = (char **) calloc ((size_t) (mp->numsel + 2), sizeof(*vec)); if (vec == NULL) adios (NULL, "unable to allocate exec vector"); @@ -57,7 +54,7 @@ folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook) fflush (stdout); vec[0] = r1bindex (rmmproc, '/'); - switch (pid = m_vfork()) { + switch (pid = vfork()) { case -1: advise ("fork", "unable to"); return -1;