changeset 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 fd3cc0a28d5d
children 1c4f8850acbc
files src/toc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)