src/list.c

changeset 3136
8d988a6d2f4c
parent 3048
22ccf641f97b
child 3398
c1f03b948eb0
--- 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++;

mercurial