diff src/log.c @ 7463:f2d82df37252

[gaim-migrate @ 8076] mr. stange found another bug in my code. he's good at that, and he's now officially crazy. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 08 Nov 2003 09:00:36 +0000
parents 5fb4cbf1ac54
children ad6435eccf2b
line wrap: on
line diff
--- a/src/log.c	Sat Nov 08 08:49:07 2003 +0000
+++ b/src/log.c	Sat Nov 08 09:00:36 2003 +0000
@@ -442,9 +442,10 @@
 
 static void html_logger_finalize(GaimLog *log)
 {
-	fprintf(log->logger_data, "</body></html>");
-	if (log->logger_data)
+	if (log->logger_data) {
+		fprintf(log->logger_data, "</body></html>");
 		fclose(log->logger_data);
+	}
 }
 
 static GList *html_logger_list(const char *sn, GaimAccount *account)