make log_has_backlog aware of track_backlog.
This commit is contained in:
parent
546f86b592
commit
5faa6581b7
@ -712,6 +712,9 @@ int log_has_backlog(log_t *logdata, char *destination)
|
|||||||
if (lfg->memlog)
|
if (lfg->memlog)
|
||||||
return !list_is_empty(lfg->memlog);
|
return !list_is_empty(lfg->memlog);
|
||||||
|
|
||||||
|
if (!lfg->track_backlog)
|
||||||
|
return 0;
|
||||||
|
|
||||||
logfile_t *lf;
|
logfile_t *lf;
|
||||||
lf = list_get_first(&lfg->file_group);
|
lf = list_get_first(&lfg->file_group);
|
||||||
if (lf != list_get_last(&lfg->file_group))
|
if (lf != list_get_last(&lfg->file_group))
|
||||||
|
Loading…
Reference in New Issue
Block a user