Mercurial > pidgin
comparison src/log.c @ 11092:68652f4ad6a7
[gaim-migrate @ 13115]
Ioan Lupu asked for this meta tag so that logs will display properly in Firefox.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 12 Jul 2005 01:56:02 +0000 |
parents | 50224ac8184d |
children | 59a1ff5a4bae |
comparison
equal
deleted
inserted
replaced
11091:5e29428077fc | 11092:68652f4ad6a7 |
---|---|
794 /* if we can't write to the file, give up before we hurt ourselves */ | 794 /* if we can't write to the file, give up before we hurt ourselves */ |
795 if(!data->file) | 795 if(!data->file) |
796 return; | 796 return; |
797 | 797 |
798 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&log->time)); | 798 strftime(date, sizeof(date), "%Y-%m-%d %H:%M:%S", localtime(&log->time)); |
799 fprintf(data->file, "<html><head><title>"); | 799 fprintf(data->file, "<html><head>"); |
800 fprintf(data->file, "<title>"); | |
801 fprintf(data->file, "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">"); | |
800 fprintf(data->file, "Conversation with %s at %s on %s (%s)", | 802 fprintf(data->file, "Conversation with %s at %s on %s (%s)", |
801 log->name, date, gaim_account_get_username(log->account), prpl); | 803 log->name, date, gaim_account_get_username(log->account), prpl); |
802 fprintf(data->file, "</title></head><body>"); | 804 fprintf(data->file, "</title></head><body>"); |
803 fprintf(data->file, | 805 fprintf(data->file, |
804 "<h3>Conversation with %s at %s on %s (%s)</h3>\n", | 806 "<h3>Conversation with %s at %s on %s (%s)</h3>\n", |