X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d6b2ae5fa68b9a82ffc006c233aef64c5cdb3bd2..34f0ab116ad7734e96127d3cd046861a5c82c11c:/uip/burst.c?ds=sidebyside diff --git a/uip/burst.c b/uip/burst.c index 5375f8a1..c156076a 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; @@ -287,7 +284,7 @@ find_delim (int msgnum, struct smsg *smsgs, int *mimesw) /* * Read in lines until we get to a message delimiter. * - * Previously we checked to make sure the preceeding line and + * Previously we checked to make sure the preceding line and * next line was a newline. That actually does not comply with * RFC 934, so make sure we break on a message delimiter even * if the previous character was NOT a newline. @@ -503,7 +500,7 @@ burst (struct msgs **mpp, int msgnum, struct smsg *smsgs, int numburst, #define S4 3 /* - * Copy a mesage which is being burst out of a digest. + * Copy a message which is being burst out of a digest. * It will remove any "dashstuffing" in the message. */