X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b56c88e2847c582f9b18ae5bbda44f033cd49c42..cd53031b83b4ee584378c581ed50fa7fb12b9e4e:/uip/burst.c diff --git a/uip/burst.c b/uip/burst.c index ff5af237..418fb909 100644 --- a/uip/burst.c +++ b/uip/burst.c @@ -42,7 +42,6 @@ struct smsg { */ int debugsw = 0; -pid_t xpid = 0; /* * static prototypes @@ -166,7 +165,7 @@ main (int argc, char **argv) seq_setprev (mp); /* set the previous-sequence */ smsgs = (struct smsg *) - calloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); + mh_xcalloc ((size_t) (MAXFOLDER + 2), sizeof(*smsgs)); if (smsgs == NULL) adios (NULL, "unable to allocate burst storage"); @@ -288,7 +287,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. @@ -504,7 +503,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. */