X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e19a05bad44e548ad6f6d1865b5f797d5d70417c..e98c2d0fee3d656633ae897576b3d8d0f0fddfe2:/sbr/folder_delmsgs.c?ds=sidebyside diff --git a/sbr/folder_delmsgs.c b/sbr/folder_delmsgs.c index 20ac1a57..c1416a6f 100644 --- a/sbr/folder_delmsgs.c +++ b/sbr/folder_delmsgs.c @@ -2,8 +2,6 @@ /* * folder_delmsgs.c -- "remove" SELECTED messages from a folder * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -42,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");