comparison src/log.c @ 12881:7e45ccd91e58

[gaim-migrate @ 15233] It seems like we should have a newline at the end of HTML logs. It's late and this is untested, but I can't imagine what it would break. (Yeah, yeah, famous last words.) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 15 Jan 2006 07:43:09 +0000
parents 03ff00e0bb84
children 6910db1ae6a1
comparison
equal deleted inserted replaced
12880:bad785371fa5 12881:7e45ccd91e58
981 static void html_logger_finalize(GaimLog *log) 981 static void html_logger_finalize(GaimLog *log)
982 { 982 {
983 GaimLogCommonLoggerData *data = log->logger_data; 983 GaimLogCommonLoggerData *data = log->logger_data;
984 if (data) { 984 if (data) {
985 if(data->file) { 985 if(data->file) {
986 fprintf(data->file, "</body></html>"); 986 fprintf(data->file, "</body></html>\n");
987 fclose(data->file); 987 fclose(data->file);
988 } 988 }
989 g_free(data->path); 989 g_free(data->path);
990 g_free(data); 990 g_free(data);
991 } 991 }