Mercurial > pidgin.yaz
comparison src/server.c @ 1722:1edc8b545d6f
[gaim-migrate @ 1732]
bugfixes and mem plugs
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 17 Apr 2001 20:42:47 +0000 |
parents | 15096a01cd23 |
children | 76e601b77099 |
comparison
equal
deleted
inserted
replaced
1721:15096a01cd23 | 1722:1edc8b545d6f |
---|---|
655 | 655 |
656 filename = (char *)malloc(100); | 656 filename = (char *)malloc(100); |
657 g_snprintf(filename, 100, "%s.chat", b->name); | 657 g_snprintf(filename, 100, "%s.chat", b->name); |
658 | 658 |
659 fd = open_log_file(filename); | 659 fd = open_log_file(filename); |
660 if (!(logging_options & OPT_LOG_STRIP_HTML)) | 660 if (fd) { |
661 fprintf(fd, | 661 if (!(logging_options & OPT_LOG_STRIP_HTML)) |
662 "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", | 662 fprintf(fd, |
663 full_date()); | 663 "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", |
664 else | 664 full_date()); |
665 fprintf(fd, "---- New Conversation @ %s ----\n", full_date()); | 665 else |
666 | 666 fprintf(fd, "---- New Conversation @ %s ----\n", full_date()); |
667 fclose(fd); | 667 |
668 fclose(fd); | |
669 } | |
668 free(filename); | 670 free(filename); |
669 } | 671 } |
670 | 672 |
671 show_new_buddy_chat(b); | 673 show_new_buddy_chat(b); |
672 } | 674 } |