X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/942561da2455ee50a1eb82c8c4f2bdb5e25133d1..6840e8ab4e69caead96fced2ae896f778651d113:/uip/burst.c diff --git a/uip/burst.c b/uip/burst.c index 418fb909..0cfb4065 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -164,10 +164,7 @@ main (int argc, char **argv) done (1); seq_setprev (mp); /* set the previous-sequence */ - smsgs = (struct smsg *) - mh_xcalloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); - if (smsgs == NULL) - adios (NULL, "unable to allocate burst storage"); + smsgs = mh_xcalloc(MAXFOLDER + 2, sizeof *smsgs); hi = mp->hghmsg + 1; @@ -510,7 +507,7 @@ burst (struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst, static void cpybrst (FILE *in, FILE *out, char *ifile, char *ofile, int len, int mime) { - register int c, state; + int c, state; for (state = mime ? S4 : S1; (c = fgetc (in)) != EOF && len > 0; len--) { if (c == 0)