diff options
Diffstat (limited to 'src/qmail-mrtg.c')
-rw-r--r-- | src/qmail-mrtg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qmail-mrtg.c b/src/qmail-mrtg.c index c956196..1583052 100644 --- a/src/qmail-mrtg.c +++ b/src/qmail-mrtg.c @@ -11,6 +11,7 @@ #include "str.h" #include "datetime.h" #include "logmsg.h" +#include "qmail.h" #define WHO "qmail-mrtg" #define TAI64NLEN 24 @@ -93,7 +94,7 @@ static void out(int i) if (buffer_flush(&bo) == -1) _exit(1); } -char bufspace[1024]; +char bufspace[BUFSIZE_LINE]; buffer bi = BUFFER_INIT(read,0,bufspace,sizeof(bufspace)); void mrtg_results(char flag) |