X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/19bf8698eeb0ab3d7694232af115fa3f007d5c7b..9cc2510:/uip/mhshow.c?ds=sidebyside 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;