diff options
Diffstat (limited to 'src/qmail-smtpam.c')
-rw-r--r--[-rwxr-xr-x] | src/qmail-smtpam.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qmail-smtpam.c b/src/qmail-smtpam.c index e9566e0..f5247dc 100755..100644 --- a/src/qmail-smtpam.c +++ b/src/qmail-smtpam.c @@ -33,6 +33,7 @@ #include "tls_errors.h" #include "tls_timeoutio.h" #include "uint_t.h" +#include "qmail.h" #define MAX_SIZE 200000000 #define HUGESMTPTEXT 5000 @@ -209,9 +210,9 @@ ssize_t safewrite(int fd,char *buf,int len) return r; } -char outbuf[1450]; +char outbuf[BUFSIZE_LINE]; buffer bo = BUFFER_INIT(safewrite,-1,outbuf,sizeof(outbuf)); -char frombuf[128]; +char frombuf[BUFFER_SMALL]; buffer bi = BUFFER_INIT(saferead,-1,frombuf,sizeof(frombuf)); stralloc smtptext = {0}; |