From: Eric W. <war...@us...> - 2001-12-22 00:35:56
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv16797 Modified Files: conversation.c Log Message: whoops Index: conversation.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/conversation.c,v retrieving revision 1.321 retrieving revision 1.322 diff -u -d -r1.321 -r1.322 --- conversation.c 2001/12/21 23:46:41 1.321 +++ conversation.c 2001/12/22 00:35:53 1.322 @@ -1593,7 +1593,7 @@ gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, -1, 0); } else { if (c->gc->flags & OPT_CONN_HTML) - what = g_memdup(what, length); + what = g_memdup(what, length == -1 ? strlen(what) + 1 : length); else what = escape_html(what, &length); if (flags & WFLAG_WHISPER) { |