]> diplodocus.org Git - nmh/blobdiff - uip/pick.c
* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
[nmh] / uip / pick.c
index 4f26bb2e5d4400e681b3301d86bccbbc1ed094ad..8cdfa58070d18555c02c6059a3ac12fc5a9df482 100644 (file)
@@ -199,9 +199,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;
        }