diff src/list.c @ 3136:1bd472b7f7a2

[gaim-migrate @ 3151] Jabber sync. fixen committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Fri, 12 Apr 2002 02:15:24 +0000
parents e729c064bc1b
children 48a2e656bdf9
line wrap: on
line diff
--- a/src/list.c	Fri Apr 12 02:13:13 2002 +0000
+++ b/src/list.c	Fri Apr 12 02:15:24 2002 +0000
@@ -366,7 +366,7 @@
 					how_many++;
 				}
 			} else if (*c == 'b' && !find_buddy(gc, c + 2)) {
-				char nm[80], sw[388], *tmp = c + 2;
+				char nm[80], sw[BUDDY_ALIAS_MAXLEN], *tmp = c + 2;
 				int i = 0;
 				while (*tmp != ':' && *tmp && i < sizeof(nm) - 1)
 					nm[i++] = *tmp++;