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.2.1~1849 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=246c4965718c51fd3821dec5300f19b4d621c039;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,