summaryrefslogtreecommitdiff
path: root/src/fastforward.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastforward.c')
-rw-r--r--src/fastforward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastforward.c b/src/fastforward.c
index f8a7d55..0c055cd 100644
--- a/src/fastforward.c
+++ b/src/fastforward.c
@@ -51,7 +51,7 @@ static void printsafe(char *s)
struct qmail qq;
char qp[FMT_ULONG];
-char qqbuf[1];
+char qqbuf[BUFSIZE_LINE];
ssize_t qqwrite(int fd,char *buf,int len)
{
@@ -93,7 +93,7 @@ void dofile(char *fn)
logmsg(WHO,111,FATAL,B("unable to read: ",fn));
if ((st.st_mode & 0444) != 0444)
logmsg(WHO,111,FATAL,B(fn," is not world-readable"));
- if (readclose_append(fd,&mailinglist,1024) == -1)
+ if (readclose_append(fd,&mailinglist,BUFSIZE_LINE) == -1)
logmsg(WHO,111,FATAL,B("unable to read: ",fn));
i = 0;