backread_hours is in hours, not days

This commit is contained in:
Mathieu Pillard 2010-02-16 10:08:27 +00:00 committed by Arnaud Cornet
parent 7c0b6036f2
commit 5d6b7fedaf
1 changed files with 2 additions and 2 deletions

View File

@ -1310,9 +1310,9 @@ static list_t *log_backread_hours(log_t *log, const char *storename,
list_iterator_t file_it;
gettimeofday(&tv, NULL);
if (tv.tv_sec <= 3600 * 24 * hours)
if (tv.tv_sec <= 3600 * hours)
return NULL;
blstarttime = tv.tv_sec - 3600 * 24 * hours;
blstarttime = tv.tv_sec - 3600 * hours;
store = hash_get(&log->logfgs, storename);