X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fburst.c;h=04e5450a403989f72ffbb27e5704b9f606ee35d4;hp=37dc9b17d8871c941027fe1c385685dd51fb797c;hb=7a13a5266a14f1c6a13752db9292cd40c1211fba;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c diff --git a/uip/burst.c b/uip/burst.c index 37dc9b1..04e5450 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -7,6 +7,7 @@ */ #include +#include #include #include #include @@ -117,9 +118,7 @@ main(int argc, char **argv) seq_setprev(mp); /* set the previous-sequence */ smsgs = (struct smsg *) - calloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); - if (smsgs == NULL) - adios(EX_OSERR, NULL, "unable to allocate burst storage"); + mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); hi = mp->hghmsg + 1;