From: Luke S. <lsc...@us...> - 2004-03-15 05:29:40
|
Update of /cvsroot/gaim/gaim/src/protocols/zephyr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14790/src/protocols/zephyr Modified Files: zephyr.c Log Message: aatharuv is the man: marv requests, he delivers. in this case is html entity handling that marv's previous patch suggested would require work in zepher. Index: zephyr.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/zephyr/zephyr.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -d -p -r1.77 -r1.78 --- zephyr.c 12 Mar 2004 16:22:30 -0000 1.77 +++ zephyr.c 15 Mar 2004 05:20:37 -0000 1.78 @@ -407,11 +407,14 @@ static void handle_message(ZNotice_t not char *sendertmp = g_strdup_printf("%s",gaim_zephyr_get_sender()); GaimConvImFlags flags = 0; if (len > 0) { + gchar* tmpescape; buf = g_malloc(len + 1); g_snprintf(buf, len + 1, "%s", ptr); g_strchomp(buf); - buf2 = zephyr_to_html(buf); + tmpescape = gaim_escape_html(buf); + buf2 = zephyr_to_html(tmpescape); g_free(buf); + g_free(tmpescape); if (!g_ascii_strcasecmp(notice.z_class, "MESSAGE") && !g_ascii_strcasecmp(notice.z_class_inst, "PERSONAL")) { if (!g_ascii_strcasecmp(notice.z_message, "Automated reply:")) |