From 5faa6581b769aa747a85b5828e34a2fc893f4079 Mon Sep 17 00:00:00 2001 From: Arnaud Cornet Date: Sun, 25 Nov 2007 15:39:38 +0100 Subject: [PATCH] make log_has_backlog aware of track_backlog. --- src/log.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/log.c b/src/log.c index 266d9a6..a131ce6 100644 --- a/src/log.c +++ b/src/log.c @@ -712,6 +712,9 @@ int log_has_backlog(log_t *logdata, char *destination) if (lfg->memlog) return !list_is_empty(lfg->memlog); + if (!lfg->track_backlog) + return 0; + logfile_t *lf; lf = list_get_first(&lfg->file_group); if (lf != list_get_last(&lfg->file_group))