]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
Added initial "MH-Profile-Version: 1.0\n" line to newly created
[nmh] / uip / mhn.c
index 7363688f32501681a6e06a5d0fb9418c2b02b99e..1e95d41e70e96e283339099256723fb637906e6f 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -446,7 +446,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;
 
@@ -479,7 +479,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;