Mercurial > pidgin
changeset 2004:699ddd727a49
[gaim-migrate @ 2014]
hi
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 12 Jun 2001 23:04:47 +0000 |
parents | ffae8228d63a |
children | 7d996c7715b0 |
files | src/conversation.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Tue Jun 12 22:59:05 2001 +0000 +++ b/src/conversation.c Tue Jun 12 23:04:47 2001 +0000 @@ -136,7 +136,7 @@ FILE *fd; fd = open_log_file(c->name); - if (fd > 0) { + if (fd) { if (!(logging_options & OPT_LOG_STRIP_HTML)) fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", @@ -1372,7 +1372,7 @@ else g_snprintf(nm, 256, "%s", c->name); fd = open_log_file(nm); - if (fd > 0) { + if (fd) { if (logging_options & OPT_LOG_STRIP_HTML) { fprintf(fd, "%s\n", t1); } else { @@ -1472,7 +1472,7 @@ t2 = html_logize(what); } fd = open_log_file(nm); - if (fd > 0) { + if (fd) { if (logging_options & OPT_LOG_STRIP_HTML) { fprintf(fd, "%s%s\n", t1, t2); } else {