X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2..a80e3521e108c8c625c40595453e235e43d84800:/sbr/seq_list.c diff --git a/sbr/seq_list.c b/sbr/seq_list.c index ecc03bfd..b64e8cd8 100644 --- a/sbr/seq_list.c +++ b/sbr/seq_list.c @@ -3,8 +3,6 @@ * seq_list.c -- Get all messages in a sequence and return them * -- as a space separated list of message ranges. * - * $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. @@ -75,8 +73,7 @@ seq_list(struct msgs *mp, char *seqname) char *newbuf; len += MAXBUFFER; - if (!(newbuf = realloc (buffer, (size_t) len))) - adios (NULL, "unable to realloc storage in seq_list"); + newbuf = mh_xrealloc (buffer, (size_t) len); bp = newbuf + (bp - buffer); buffer = newbuf; }