Mercurial > pidgin
diff src/toc.c @ 351:22161278657c
[gaim-migrate @ 361]
Hopefully this will fix the Buffer too small problem people seem to be having
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 07 Jun 2000 21:54:30 +0000 |
parents | b402a23f35df |
children | cf895313fc50 |
line wrap: on
line diff
--- a/src/toc.c Wed Jun 07 18:33:21 2000 +0000 +++ b/src/toc.c Wed Jun 07 21:54:30 2000 +0000 @@ -758,7 +758,7 @@ int toc_wait_signon() { /* Wait for the SIGNON to be approved */ - char buf[BUF_LEN]; + char buf[BUF_LONG]; int res; res = wait_reply(buf, sizeof(buf)); if (res < 0) @@ -800,7 +800,7 @@ char *toc_wait_config() { /* Waits for configuration packet, returning the contents of the packet */ - static char buf[BUF_LEN]; + static char buf[BUF_LONG]; int res; res = wait_reply(buf, sizeof(buf)); if (res < 0)