X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fseq_list.c;h=b64e8cd8d03d4363e8fcccb186d1fc2f6a6ca88b;hb=128545e06224233b7e91fc4c83f8830252fe16c9;hp=ecc03bfd7123ed94fe060f43e850df4778ff58c6;hpb=81a21a9a97d8633f6d6231e31fdb6e328d0d3ff2;p=mmh diff --git a/sbr/seq_list.c b/sbr/seq_list.c index ecc03bf..b64e8cd 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; }