X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0a032eea07f6d77ac6ea4d5a39c9491c34358058..44ce201046140d2c4204fcbc865fad68ff201dd4:/uip/replsbr.c diff --git a/uip/replsbr.c b/uip/replsbr.c index 1c9a8c36..fe79c295 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -1,5 +1,4 @@ -/* - * replsbr.c -- routines to help repl along... +/* replsbr.c -- routines to help repl along... * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -25,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 256 - static char *addrcomps[] = { "from", "sender", @@ -66,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;