fix duplicate allocation of irc buffers
This commit is contained in:
parent
4d025dde85
commit
aa5cfa756f
@ -68,9 +68,6 @@ void irc_connect(struct irc_conn *bot)
|
||||
struct addrinfo hints;
|
||||
struct addrinfo *res, *r;
|
||||
|
||||
bot->in = calloc(60000, sizeof(char));
|
||||
bot->out = calloc(60000, sizeof(char));
|
||||
|
||||
memset(&hints, 0, sizeof hints);
|
||||
hints.ai_family = AF_UNSPEC;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
|
Loading…
Reference in New Issue
Block a user