From 7a7c2432cf3fcffc8c78585d95c7c3a2d08e565d Mon Sep 17 00:00:00 2001 From: Arnaud Cornet Date: Sun, 18 Jan 2009 11:26:08 +0100 Subject: [PATCH] [FIX] make log_has_backlog actually work log_has_backlog used to check for the presnece of tracked logfiles to determine the presence of logs. This does not work anymore. This patch uses the last file tracker to determine that. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 65288dd..72cc2b7 100644 --- a/src/log.c +++ b/src/log.c @@ -777,7 +777,7 @@ int log_has_backlog(log_t *logdata, const char *destination) return 0; logfile_t *lf; - lf = list_get_first(&store->file_group); + lf = list_it_item(&store->file_it); if (lf != list_get_last(&store->file_group)) return 1;