]> git.marmaro.de Git - mmh/blobdiff - uip/mhlist.c
Added support for optional Content_Disposition header in mhbuild directive.s
[mmh] / uip / mhlist.c
index 56d9398f91395faae30318eb6bf70feba9efb64b..03480b3cc88a456bcd610d346beb2971c1d1e42d 100644 (file)
@@ -264,9 +264,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;
        }