X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhpath.c;h=4a88605b8434025da8134453aec4f3766cea48a8;hp=5084b030a8493a6c346fef9ea8f2cd0aa2817bb3;hb=008837e090c008e3afe7a9c8667070bafa091e62;hpb=81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2 diff --git a/uip/mhpath.c b/uip/mhpath.c index 5084b03..4a88605 100644 --- a/uip/mhpath.c +++ b/uip/mhpath.c @@ -89,9 +89,8 @@ main(int argc, char **argv) */ 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; }