X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2..403c91f8d575003b1b6396bcbb60a0fe5c3683fa:/uip/conflict.c diff --git a/uip/conflict.c b/uip/conflict.c index 50971199..07e77fc9 100644 --- a/uip/conflict.c +++ b/uip/conflict.c @@ -2,8 +2,6 @@ /* * conflict.c -- check for conflicts in mail system * - * $Id$ - * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. @@ -139,7 +137,8 @@ main (int argc, char **argv) #endif /* UCI */ maildrops (); - return done (0); + done (0); + return 1; } @@ -205,9 +204,8 @@ grp_names (void) if (i >= numgroups) { if (numgroups >= maxgroups) { maxgroups += NGRPS; - if (!(grps = (char **) realloc(grps, - (size_t) (maxgroups * sizeof(*grps))))) - adios (NULL, "unable to reallocate group name storage"); + grps = (char **) mh_xrealloc(grps, + (size_t) (maxgroups * sizeof(*grps))); } grps[numgroups++] = getcpy (gr->gr_name); }