Mercurial > pidgin
changeset 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 | 2cb360d65c98 |
children | 8ba601b1949a |
files | src/gnome_applet_mgr.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);