X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d6e8d44dbb990fe77f9380ef6cbcd5101807208e..44ce201046140d2c4204fcbc865fad68ff201dd4:/uip/replsbr.c?ds=inline diff --git a/uip/replsbr.c b/uip/replsbr.c index aff059a2..fe79c295 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -1,6 +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 @@ -26,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", @@ -67,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;