Mercurial > pidgin
comparison src/server.c @ 1212:a487b35ac05a
[gaim-migrate @ 1222]
g_snprintf
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Fri, 08 Dec 2000 04:56:04 +0000 |
| parents | 4fd0d35826fe |
| children | a9cf2f61a7b1 |
comparison
equal
deleted
inserted
replaced
| 1211:892bb91e9a27 | 1212:a487b35ac05a |
|---|---|
| 625 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(b->name)) { | 625 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(b->name)) { |
| 626 FILE *fd; | 626 FILE *fd; |
| 627 char *filename; | 627 char *filename; |
| 628 | 628 |
| 629 filename = (char *)malloc(100); | 629 filename = (char *)malloc(100); |
| 630 snprintf(filename, 100, "%s.chat", b->name); | 630 g_snprintf(filename, 100, "%s.chat", b->name); |
| 631 | 631 |
| 632 fd = open_log_file(filename); | 632 fd = open_log_file(filename); |
| 633 if (!(general_options & OPT_GEN_STRIP_HTML)) | 633 if (!(general_options & OPT_GEN_STRIP_HTML)) |
| 634 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date()); | 634 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date()); |
| 635 else | 635 else |
