comparison src/server.c @ 1437:1f0660a2c893

[gaim-migrate @ 1447] i'm in a fucking bad mood committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 28 Jan 2001 23:11:57 +0000
parents f16e17d42b43
children 6650776468b3
comparison
equal deleted inserted replaced
1436:f6a9bd50fd19 1437:1f0660a2c893
644 644
645 filename = (char *)malloc(100); 645 filename = (char *)malloc(100);
646 g_snprintf(filename, 100, "%s.chat", b->name); 646 g_snprintf(filename, 100, "%s.chat", b->name);
647 647
648 fd = open_log_file(filename); 648 fd = open_log_file(filename);
649 if (fd > 0) { 649 if (!(general_options & OPT_GEN_STRIP_HTML))
650 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", 650 fprintf(fd,
651 full_date()); 651 "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n",
652 fclose(fd); 652 full_date());
653 } 653 else
654 fprintf(fd, "---- New Conversation @ %s ----\n", full_date());
655
656 fclose(fd);
654 free(filename); 657 free(filename);
655 } 658 }
656 659
657 show_new_buddy_chat(b); 660 show_new_buddy_chat(b);
658 } 661 }