diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-29 12:51:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-29 12:51:35 +0000 |
commit | 233f685e2a2a5033b077e9945c4b6f21fe7c5046 (patch) | |
tree | 26d6da5f375e9e4b113b87c30f379eb2f02eb655 | |
parent | 27f032f4765e120b79ea6ced513ac7d32e470815 (diff) | |
download | sircbot-233f685e2a2a5033b077e9945c4b6f21fe7c5046.tar.bz2 sircbot-233f685e2a2a5033b077e9945c4b6f21fe7c5046.tar.xz |
increase read buffer
we dont handle situations where read input is bigger than buffer.
for now we just increase the buffer size.
-rw-r--r-- | sircbot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |