Mercurial > pidgin
changeset 2343:29449a6b79e6
[gaim-migrate @ 2356]
fix
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 22 Sep 2001 02:19:48 +0000 |
parents | b1050f14b429 |
children | 19ea44f74a88 |
files | src/protocols/toc/toc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/toc/toc.c Fri Sep 21 20:57:20 2001 +0000 +++ b/src/protocols/toc/toc.c Sat Sep 22 02:19:48 2001 +0000 @@ -847,7 +847,7 @@ static int toc_send_im(struct gaim_connection *gc, char *name, char *message, int flags) { char buf[BUF_LEN * 2]; - char *tmp = g_malloc(strlen(message) * 2); + char *tmp = g_malloc(strlen(message) * 4 + 1); /* 4 because \n gets replaced with <BR> */ strcpy(tmp, message); escape_text(tmp);