X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsortm.c;h=43dc7dc0bbed6cdef9623293e9a06e63754e4146;hp=75aa2e35db3c37500cf4dba34fce0f3a8f441123;hb=43ae44731bc0732c894ba6dc7de2d2881c5888e0;hpb=1e99819ed105950cd584c71fa4b2e36b038be102 diff --git a/uip/sortm.c b/uip/sortm.c index 75aa2e3..43dc7dc 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -297,8 +297,6 @@ read_hdrs(struct msgs *mp, char *datesw) smsgs = (struct smsg *) mh_xcalloc((size_t) (mp->hghsel - mp->lowsel + 2), sizeof(*smsgs)); - if (smsgs == NULL) - adios(EX_OSERR, NULL, "unable to allocate sort storage"); s = smsgs; for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {