Make sure to write log when socket_owner not set

2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_write_entry): Make sure to write log
	when socket_owner not set
This commit is contained in:
Bradford Hovinen 2001-07-30 13:43:33 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent a817c23277
commit eb938c2725
2 changed files with 6 additions and 2 deletions

View file

@ -4,6 +4,8 @@
load the log entry
(config_log_destroy):
(config_log_open): Disable socket sync system
(config_log_write_entry): Make sure to write log when socket_owner
not set
2001-07-27 Bradford Hovinen <hovinen@ximian.com>

View file

@ -533,17 +533,19 @@ config_log_write_entry (ConfigLog *config_log, gchar *backend_id,
config_log->p->log_data =
g_list_prepend (config_log->p->log_data, entry);
if (config_log->p->socket_owner) {
#if 0
if (config_log->p->socket_owner) {
slave_broadcast_data (NULL, config_log);
#endif
dump_log (config_log);
if (config_log->p->file_buffer)
io_buffer_destroy (config_log->p->file_buffer);
do_load (config_log);
#if 0
} else {
write_log (config_log->p->socket_buffer, entry);
}
#endif
return entry->id;
}