X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_getfld.c;h=c085bf5f16bdb5db4c5ad1861fb45bcbeb90ca71;hb=ac33b2e9c3632537b93fc4755a925c682d1eb82e;hp=8a18e783c98a294f1c9ebb07ee36e46accce278c;hpb=dee387b53ab0d42922f857b60d6f980c9e79d16f;p=mmh diff --git a/sbr/m_getfld.c b/sbr/m_getfld.c index 8a18e78..c085bf5 100644 --- a/sbr/m_getfld.c +++ b/sbr/m_getfld.c @@ -3,10 +3,15 @@ * m_getfld.c -- read/parse a message * * $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. */ #include #include +#include /* This module has a long and checkered history. First, it didn't burst maildrops correctly because it considered two CTRL-A:s in a row to be @@ -558,7 +563,7 @@ m_unknown(FILE *iob) msg_style = MS_MMDF; } c = strlen (delimstr); - fdelim = (unsigned char *) malloc((size_t) (c + 3)); + fdelim = (unsigned char *) mh_xmalloc((size_t) (c + 3)); *fdelim++ = '\0'; *fdelim = '\n'; msg_delim = (char *)fdelim+1;