X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fsortm.c;h=5d15ed68d40099dec990e1cf9dc9b97994646aa4;hb=8523e64e0de904a09689c67b8681d1fcdb6405a0;hp=4ca0c724b4405d2de7883f8a26b63a5a4c6a34b7;hpb=4dc39c08f07428ff5f39acd7b0ddee30e0a004f6;p=mmh diff --git a/uip/sortm.c b/uip/sortm.c index 4ca0c72..5d15ed6 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++) {