From b40ecb4417e49cbc53459b28ee394a3b2eb93c9c Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sun, 7 May 2017 13:56:40 +0100 Subject: [PATCH] uip/replsbr.c: Replace single use of SBUFSIZ with NMH_BUFSIZ. The former was defined as the latter; not a lot of point having it. --- uip/replsbr.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/uip/replsbr.c b/uip/replsbr.c index 2cb06ece..fe79c295 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -24,15 +24,6 @@ static char *dfhost = NULL; static struct mailname mq; static int nodupcheck = 0; /* If set, no check for duplicates */ -/* - * Buffer size for content part of header fields. - * We want this to be large enough so that we don't - * do a lot of extra FLDPLUS calls on m_getfld but - * small enough so that we don't snarf the entire - * message body when we're not going to use any of it. - */ -#define SBUFSIZ NMH_BUFSIZ - static char *addrcomps[] = { "from", "sender", @@ -65,7 +56,7 @@ replout (FILE *inb, char *msg, char *drft, struct msgs *mp, int outputlinelen, { int state, i; struct comp *cptr; - char tmpbuf[SBUFSIZ]; + char tmpbuf[NMH_BUFSIZ]; struct format *fmt; char **ap; int char_read = 0, format_len, mask; -- 2.56.0