From e4d8860e067a2b685f01af498ab535e6e18bb7b2 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Wed, 2 Apr 2008 16:35:48 +0400 Subject: [PATCH] READBUF_SIZE --- include/common.h | 3 +++ src/packet.c | 1 + 2 files changed, 4 insertions(+) diff --git a/include/common.h b/include/common.h index b96cb0f8..fe2afd89 100644 --- a/include/common.h +++ b/include/common.h @@ -65,4 +65,7 @@ /* Right out of the RFC */ #define IRCD_BUFSIZE 512 +/* readbuf size */ +#define READBUF_SIZE 16384 + #endif /* INCLUDED_common_h */ diff --git a/src/packet.c b/src/packet.c index ea6a3b8a..705598a4 100644 --- a/src/packet.c +++ b/src/packet.c @@ -34,6 +34,7 @@ #include "match.h" #include "hook.h" #include "send.h" +#include "common.h" static char readBuf[READBUF_SIZE]; static void client_dopacket(struct Client *client_p, char *buffer, size_t length);