From: Eric W. <war...@us...> - 2001-09-22 02:19:52
|
Update of /cvsroot/gaim/gaim/src/protocols/toc In directory usw-pr-cvs1:/tmp/cvs-serv10890/protocols/toc Modified Files: toc.c Log Message: fix Index: toc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/toc/toc.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- toc.c 2001/09/21 00:14:12 1.21 +++ toc.c 2001/09/22 02:19:48 1.22 @@ -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); |