Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 7771:a481ffe303d2
[gaim-migrate @ 8416]
off by one
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Fri, 05 Dec 2003 21:40:44 +0000 |
| parents | 3906c0957d4f |
| children | 35cd3ef34fb0 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c Fri Dec 05 20:18:21 2003 +0000 +++ b/src/protocols/yahoo/yahoo.c Fri Dec 05 21:40:44 2003 +0000 @@ -806,7 +806,7 @@ char *converted; char *p, *n, *new; - n = new = g_malloc(strlen (text)); + n = new = g_malloc(strlen (text) + 1); for (p = (char *)text; *p; p++, n++) { if (*p == '\\') {
