aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 8d8bd1afe..89f5348ec 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -387,7 +387,9 @@ static void domark(int sig)
387 } 387 }
388} 388}
389 389
390static const int BUFSIZE = 1023; 390/* This must be a #define, since when DODEBUG and BUFFERS_GO_IN_BSS are
391 * enabled, we otherwise get a "storage size isn't constant error. */
392#define BUFSIZE 1023
391static int serveConnection (int conn) 393static int serveConnection (int conn)
392{ 394{
393 RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1); 395 RESERVE_BB_BUFFER(tmpbuf, BUFSIZE + 1);