X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b43e55a89e0fd66e1bf968fed25feacfbd045514..19d2ce8fb85c0b52bafa37db46f8b4a3f05c87a3:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index 96b99b79..0227d0c2 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -182,7 +182,7 @@ do_cache: inlineonly = 1; continue; case NINLINESW: - inlineonly = 1; + inlineonly = 0; continue; case PARTSW: @@ -314,7 +314,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; @@ -358,7 +358,7 @@ do_cache: seq_setprev (mp); /* set the Previous-Sequence */ seq_setunseen (mp, 1); /* unset the Unseen-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;