READBUF_SIZE

This commit is contained in:
Valery Yatsko 2008-04-02 16:35:48 +04:00
parent 95781b4d5f
commit 42d2f3061c
2 changed files with 4 additions and 0 deletions

View File

@ -65,4 +65,7 @@
/* Right out of the RFC */ /* Right out of the RFC */
#define IRCD_BUFSIZE 512 #define IRCD_BUFSIZE 512
/* readbuf size */
#define READBUF_SIZE 16384
#endif /* INCLUDED_common_h */ #endif /* INCLUDED_common_h */

View File

@ -34,6 +34,7 @@
#include "match.h" #include "match.h"
#include "hook.h" #include "hook.h"
#include "send.h" #include "send.h"
#include "common.h"
static char readBuf[READBUF_SIZE]; static char readBuf[READBUF_SIZE];
static void client_dopacket(struct Client *client_p, char *buffer, size_t length); static void client_dopacket(struct Client *client_p, char *buffer, size_t length);