X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/28c3595a77a8c942bee1057085776dad0b3d53f4..9cc2510:/uip/mhlist.c diff --git a/uip/mhlist.c b/uip/mhlist.c index f9dbbd68..91b09841 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -66,8 +66,6 @@ extern int userrs; * This is currently needed to keep mhparse happy. * This needs to be changed. */ -pid_t xpid = 0; - int debugsw = 0; #define quitser pipeser @@ -250,7 +248,7 @@ do_cache: * check if message is coming from file */ if (file) { - if (!(cts = (CT *) calloc ((size_t) 2, sizeof(*cts)))) + if (!(cts = (CT *) mh_xcalloc ((size_t) 2, sizeof(*cts)))) adios (NULL, "out of memory"); ctp = cts; @@ -283,7 +281,7 @@ do_cache: done (1); seq_setprev (mp); /* set the previous-sequence */ - if (!(cts = (CT *) calloc ((size_t) (mp->numsel + 1), sizeof(*cts)))) + if (!(cts = (CT *) mh_xcalloc ((size_t) (mp->numsel + 1), sizeof(*cts)))) adios (NULL, "out of memory"); ctp = cts;