comparison src/server.c @ 1434:348a70e15f07

[gaim-migrate @ 1444] no more option to strip html. it didn't work anyway. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 28 Jan 2001 09:09:18 +0000
parents b37ed5eb0317
children f16e17d42b43
comparison
equal deleted inserted replaced
1433:f2f45486d656 1434:348a70e15f07
637 637
638 filename = (char *)malloc(100); 638 filename = (char *)malloc(100);
639 g_snprintf(filename, 100, "%s.chat", b->name); 639 g_snprintf(filename, 100, "%s.chat", b->name);
640 640
641 fd = open_log_file(filename); 641 fd = open_log_file(filename);
642 if (!(general_options & OPT_GEN_STRIP_HTML)) 642 if (fd > 0) {
643 fprintf(fd, 643 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n",
644 "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", 644 full_date());
645 full_date()); 645 fclose(fd);
646 else 646 }
647 fprintf(fd, "---- New Conversation @ %s ----\n", full_date());
648
649 fclose(fd);
650 free(filename); 647 free(filename);
651 } 648 }
652 649
653 show_new_buddy_chat(b); 650 show_new_buddy_chat(b);
654 } 651 }