From 7e8f457622f715fed4db152c3fef9e38c8cd7a95 Mon Sep 17 00:00:00 2001 From: Bradford Hovinen Date: Tue, 17 Jul 2001 19:22:51 +0000 Subject: [PATCH] Remove 2001-07-17 Bradford Hovinen * config-log.c (slave_apprise_data): Remove --- archiver/ChangeLog | 2 ++ archiver/config-log.c | 21 --------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/archiver/ChangeLog b/archiver/ChangeLog index f661c7891..2e6b43a93 100644 --- a/archiver/ChangeLog +++ b/archiver/ChangeLog @@ -1,5 +1,7 @@ 2001-07-17 Bradford Hovinen + * config-log.c (slave_apprise_data): Remove + * archive.c (archive_unregister_location): (archive_get_location): strdup the string to remove compiler warnings diff --git a/archiver/config-log.c b/archiver/config-log.c index 855f1eb77..c0626ff2f 100644 --- a/archiver/config-log.c +++ b/archiver/config-log.c @@ -171,7 +171,6 @@ static void slave_destroy (Slave *slave); static gboolean slave_data_cb (GIOChannel *channel, GIOCondition condition, Slave *slave); -static void slave_apprise_data (Slave *slave); static void slave_broadcast_data (Slave *slave, ConfigLog *config_log); @@ -1399,26 +1398,6 @@ slave_broadcast_data (Slave *slave, ConfigLog *config_log) 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 * io_buffer_new (GIOChannel *channel, gboolean from_socket) {