[gaim-migrate @ 361]

Wed, 07 Jun 2000 21:54:30 +0000

author
Eric Warmenhoven <warmenhoven@yahoo.com>
date
Wed, 07 Jun 2000 21:54:30 +0000
changeset 351
6f27b287eab4
parent 350
b02a56431923
child 352
37c58cf67c07

[gaim-migrate @ 361]
Hopefully this will fix the Buffer too small problem people seem to be having

src/toc.c file | annotate | diff | comparison | revisions
--- 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)

mercurial