From: Martin Simmons Date: Tue, 26 Jan 2010 08:46:19 +0000 (+0100) Subject: Fix #1466 about Bogus pruning message X-Git-Tag: Release-5.0.1~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6005b4e858c53bd2e35a784f4999b40972e18b6a;p=bacula%2Fbacula Fix #1466 about Bogus pruning message --- diff --git a/bacula/src/dird/ua_prune.c b/bacula/src/dird/ua_prune.c index 9e532f4c6b..498b4da5c6 100644 --- a/bacula/src/dird/ua_prune.c +++ b/bacula/src/dird/ua_prune.c @@ -389,7 +389,7 @@ int prune_jobs(UAContext *ua, CLIENT *client, POOL *pool, int JobType) * Select all files that are older than the JobRetention period * and stuff them into the "DeletionCandidates" table. */ - edit_utime(now-period, ed1, sizeof(ed1)); + edit_utime(period, ed1, sizeof(ed1)); Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs older than %s.\n"), ed1); edit_int64(now - period, ed1); Mmsg(query, insert_delcand, (char)JobType, ed1,