summaryrefslogtreecommitdiff
path: root/src/smtpdlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtpdlog.c')
-rw-r--r--[-rwxr-xr-x]src/smtpdlog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/smtpdlog.c b/src/smtpdlog.c
index 1b44af1..dd9911d 100755..100644
--- a/src/smtpdlog.c
+++ b/src/smtpdlog.c
@@ -6,6 +6,8 @@
#include "fmt.h"
#include "exit.h"
#include "smtpdlog.h"
+#include "qmail.h"
+
#define FDLOG 2
char *reply421pgl;
@@ -20,7 +22,7 @@ char *reply553inv;
char *reply554cnt;
static char strnum[FMT_ULONG];
-static char logbuf[512];
+static char logbuf[BUFSIZE_LINE];
buffer bo2 = BUFFER_INIT(write,FDLOG,logbuf,sizeof(logbuf));
void smtpdlog_init()