src/conversation.c

changeset 1034
960cd579da99
parent 1032
c16107c10195
child 1063
f766a178ee59
equal deleted inserted replaced
1033:55dd3cc44764 1034:960cd579da99
125 125
126 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) { 126 if ((general_options & OPT_GEN_LOG_ALL) || find_log_info(c->name)) {
127 FILE *fd; 127 FILE *fd;
128 128
129 fd = open_log_file(c->name); 129 fd = open_log_file(c->name);
130 if (!(general_options & OPT_GEN_STRIP_HTML)) 130 if (fd > 0) {
131 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date()); 131 if (!(general_options & OPT_GEN_STRIP_HTML))
132 else 132 fprintf(fd, "<HR><BR><H3 Align=Center> ---- New Conversation @ %s ----</H3><BR>\n", full_date());
133 fprintf(fd, " ---- New Conversation @ %s ----\n", full_date()); 133 else
134 134 fprintf(fd, " ---- New Conversation @ %s ----\n", full_date());
135 fclose(fd); 135 fclose(fd);
136 } else
137 /* do we want to do something here? */ ;
136 } 138 }
137 139
138 if (connections) 140 if (connections)
139 c->gc = (struct gaim_connection *)connections->data; 141 c->gc = (struct gaim_connection *)connections->data;
140 show_conv(c); 142 show_conv(c);

mercurial