diff src/conversation.c @ 373:1d29321843b0

[gaim-migrate @ 383] raise chat windows and log chat committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 10 Jun 2000 00:48:43 +0000
parents 1c4ce1da3946
children 1eae69f076d2
line wrap: on
line diff
--- a/src/conversation.c	Fri Jun 09 10:32:33 2000 +0000
+++ b/src/conversation.c	Sat Jun 10 00:48:43 2000 +0000
@@ -108,7 +108,7 @@
 	if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) {
 		FILE *fd;
 
-		fd = open_log_file(c);
+		fd = open_log_file(c->name);
 		if (!(general_options & OPT_GEN_STRIP_HTML))
 			fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date()); 
 		else
@@ -870,7 +870,7 @@
                         } else {
                                 t1 = what;
                         }
-                        fd = open_log_file(c);
+                        fd = open_log_file(c->name);
                         fprintf(fd, "%s\n", t1);
                         fclose(fd);
                         if (general_options & OPT_GEN_STRIP_HTML) {
@@ -1008,7 +1008,7 @@
                                 t1 = buf;
                                 t2 = what;
                         }
-                        fd = open_log_file(c);
+                        fd = open_log_file(c->name);
                         fprintf(fd, "%s%s\n", t1, t2);
                         fclose(fd);
                         if (general_options & OPT_GEN_STRIP_HTML) {