Remove
2001-07-17 Bradford Hovinen <hovinen@ximian.com> * config-log.c (slave_apprise_data): Remove
This commit is contained in:
parent
31a81628c4
commit
7e8f457622
2 changed files with 2 additions and 21 deletions
|
@ -1,5 +1,7 @@
|
||||||
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
|
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* config-log.c (slave_apprise_data): Remove
|
||||||
|
|
||||||
* archive.c (archive_unregister_location):
|
* archive.c (archive_unregister_location):
|
||||||
(archive_get_location): strdup the string to remove compiler warnings
|
(archive_get_location): strdup the string to remove compiler warnings
|
||||||
|
|
||||||
|
|
|
@ -171,7 +171,6 @@ static void slave_destroy (Slave *slave);
|
||||||
static gboolean slave_data_cb (GIOChannel *channel,
|
static gboolean slave_data_cb (GIOChannel *channel,
|
||||||
GIOCondition condition,
|
GIOCondition condition,
|
||||||
Slave *slave);
|
Slave *slave);
|
||||||
static void slave_apprise_data (Slave *slave);
|
|
||||||
static void slave_broadcast_data (Slave *slave,
|
static void slave_broadcast_data (Slave *slave,
|
||||||
ConfigLog *config_log);
|
ConfigLog *config_log);
|
||||||
|
|
||||||
|
@ -1399,26 +1398,6 @@ slave_broadcast_data (Slave *slave, ConfigLog *config_log)
|
||||||
DEBUG_MSG ("Exit");
|
DEBUG_MSG ("Exit");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sends all the new log entries to the given slave */
|
|
||||||
|
|
||||||
static void
|
|
||||||
slave_apprise_data (Slave *slave)
|
|
||||||
{
|
|
||||||
GList *node;
|
|
||||||
ConfigLogEntry *current;
|
|
||||||
|
|
||||||
g_return_if_fail (slave != NULL);
|
|
||||||
g_return_if_fail (IS_CONFIG_LOG (slave->config_log));
|
|
||||||
|
|
||||||
for (node = slave->config_log->p->log_data;
|
|
||||||
node != slave->config_log->p->first_old;
|
|
||||||
node = node->next)
|
|
||||||
{
|
|
||||||
current = node->data;
|
|
||||||
write_log (slave->buffer, current);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static IOBuffer *
|
static IOBuffer *
|
||||||
io_buffer_new (GIOChannel *channel, gboolean from_socket)
|
io_buffer_new (GIOChannel *channel, gboolean from_socket)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue