From 233f685e2a2a5033b077e9945c4b6f21fe7c5046 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 29 Jun 2010 12:51:35 +0000 Subject: increase read buffer we dont handle situations where read input is bigger than buffer. for now we just increase the buffer size. --- sircbot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sircbot.c b/sircbot.c index 6c63e49..30f870f 100644 --- a/sircbot.c +++ b/sircbot.c @@ -303,7 +303,7 @@ static int irc_loop(struct irc_session *sess, struct sircbot_channel *chan, int numchan) { int i, r, joined = 0; - char buf[1024]; + char buf[4096]; struct pollfd fds[numchan + 1]; sigset_t sigmask; struct timespec tv; -- cgit v1.2.3