X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fburst.c;h=119a936a9cd60bb4e012b17bc41b8758641afa7d;hb=b78007de9802005825390bee71dfce2306b42519;hp=591d7f4b508c6404c9a04e55fb27cd95eb156c9e;hpb=850059f6637354d31129f303151f9f7d30514c9e;p=mmh diff --git a/uip/burst.c b/uip/burst.c index 591d7f4..119a936 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -117,10 +117,7 @@ main(int argc, char **argv) exit(EX_SOFTWARE); seq_setprev(mp); /* set the previous-sequence */ - smsgs = (struct smsg *) - mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); - if (smsgs == NULL) - adios(EX_OSERR, NULL, "unable to allocate burst storage"); + smsgs = mh_xcalloc(MAXFOLDER + 2, sizeof(*smsgs)); hi = mp->hghmsg + 1;