[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.
This commit is contained in:
Arnaud Cornet 2009-01-18 11:26:08 +01:00
parent 9882a0cbdc
commit 7a7c2432cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;