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:
parent
a817c23277
commit
eb938c2725
2 changed files with 6 additions and 2 deletions
|
@ -2,8 +2,10 @@
|
|||
|
||||
* config-log.c (socket_data_cb): Close the socket if we couldn't
|
||||
load the log entry
|
||||
(config_log_destroy):
|
||||
(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>
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue