Mercurial > pidgin.yaz
diff src/conversation.c @ 70:dead1eb6d654
[gaim-migrate @ 80]
Full Dates On Conversation Logging
BuddyList Name Fix
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Tue, 28 Mar 2000 12:15:19 +0000 |
parents | 03ec647d24e9 |
children | bfdc427b936d |
line wrap: on
line diff
--- a/src/conversation.c Tue Mar 28 11:37:06 2000 +0000 +++ b/src/conversation.c Tue Mar 28 12:15:19 2000 +0000 @@ -71,7 +71,6 @@ state_lock = i; } - struct conversation *new_conversation(char *name) { struct conversation *c; @@ -86,11 +85,13 @@ if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) { FILE *fd; + fd = open_log_file(c); if (!(general_options & OPT_GEN_STRIP_HTML)) - fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", date()); + fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date()); else - fprintf(fd, " ---- New Conversation @ %s ----\n", date()); + fprintf(fd, " ---- New Conversation @ %s ----\n", full_date()); + fclose(fd); }