Mercurial > pidgin.yaz
diff src/gnome_applet_mgr.c @ 20:2c150f36612b
[gaim-migrate @ 29]
Off-by-one errors are fun for everyone :)
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 24 Mar 2000 02:43:30 +0000 |
parents | 99d91a6c2fbf |
children | e91430c2b276 |
line wrap: on
line diff
--- a/src/gnome_applet_mgr.c Thu Mar 23 18:41:40 2000 +0000 +++ b/src/gnome_applet_mgr.c Fri Mar 24 02:43:30 2000 +0000 @@ -298,7 +298,7 @@ while (awy) { a = (struct away_message *)awy->data; - awayname = malloc(sizeof *awayname * (5 + strlen(a->name))); + awayname = malloc(sizeof *awayname * (6 + strlen(a->name))); awayname[0] = '\0'; strcat(awayname, "away/"); strcat(awayname, a->name);