# HG changeset patch # User Rob Flynn # Date 990120326 0 # Node ID 8f06476b1296a512102ef752c969b708004f51e6 # Parent 49ccc63d8d2718ef8135f3180add7b2758dae5c2 [gaim-migrate @ 1866] Faceprint is my nice friend. committer: Tailor Script diff -r 49ccc63d8d27 -r 8f06476b1296 ChangeLog --- a/ChangeLog Thu May 17 04:11:36 2001 +0000 +++ b/ChangeLog Thu May 17 17:25:26 2001 +0000 @@ -14,6 +14,8 @@ packet logs, aechols) * More IRC improvements [colors, etc] (Thanks Sean Egan) * Improved proxy options for TOC, IRC, MSN, Jabber + * Fixed a small issue with HTML not being stripped from + log files properly (Thanks, faceprint) version 0.11.0-pre11 (04/30/2001): * Zephyr updates and additions, thanks Neil Sanchala (nsanch) diff -r 49ccc63d8d27 -r 8f06476b1296 src/util.c --- a/src/util.c Thu May 17 04:11:36 2001 +0000 +++ b/src/util.c Thu May 17 17:25:26 2001 +0000 @@ -439,9 +439,13 @@ fd = fopen(l->filename, "a"); if (flag) { /* is a new file */ - fprintf(fd, ""); - fprintf(fd, "IM Sessions with %s", name); - fprintf(fd, "\n"); + if (logging_options & OPT_LOG_STRIP_HTML) { + fprintf(fd, "IM Sessions with %s\n", name); + }else { + fprintf(fd, ""); + fprintf(fd, "IM Sessions with %s", name); + fprintf(fd, "\n"); + } } return fd; @@ -451,9 +455,13 @@ fd = open_gaim_log_file(realname, &flag); if (fd && flag) { /* is a new file */ - fprintf(fd, ""); - fprintf(fd, "IM Sessions with %s", name); - fprintf(fd, "\n"); + if (logging_options & OPT_LOG_STRIP_HTML) { + fprintf(fd, "IM Sessions with %s\n", name); + }else { + fprintf(fd, ""); + fprintf(fd, "IM Sessions with %s", name); + fprintf(fd, "\n"); + } } return fd;