]> diplodocus.org Git - nmh/blobdiff - uip/mhtest.c
Replaced second line of Content-Tyhpe of -attachformat 0 example.
[nmh] / uip / mhtest.c
index 92198396564738ac194e149dbc115378d3185761..298ef039dc00f0973cfa2a613816f7fbc33aef91 100644 (file)
@@ -252,9 +252,8 @@ do_cache:
             */
            if (nummsgs >= maxmsgs) {
                maxmsgs += MAXMSGS;
-               if (!(msgs = (char **) realloc (msgs,
-                       (size_t) (maxmsgs * sizeof(*msgs)))))
-                   adios (NULL, "unable to reallocate msgs storage");
+               msgs = (char **) mh_xrealloc (msgs,
+                   (size_t) (maxmsgs * sizeof(*msgs)));
            }
            msgs[nummsgs++] = cp;
        }