From 7b43aedaa7f8d07e9d92343c7c68ec8d16f6440e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 8 Dec 2009 00:05:15 +0100 Subject: [PATCH] Temp fix for prune crash --- bacula/src/dird/ua_prune.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bacula/src/dird/ua_prune.c b/bacula/src/dird/ua_prune.c index 8155d4f8a1..0c08238262 100644 --- a/bacula/src/dird/ua_prune.c +++ b/bacula/src/dird/ua_prune.c @@ -264,8 +264,9 @@ int prune_files(UAContext *ua, CLIENT *client, POOL *pool) } now = (utime_t)time(NULL); - edit_utime(now-period, ed1, sizeof(ed1)); - Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs older than %s secs.\n"), ed1); +// edit_utime(now-period, ed1, sizeof(ed1)); +// Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs older than %s secs.\n"), ed1); + Jmsg(ua->jcr, M_INFO, 0, _("Begin pruning Jobs.\n")); /* Select Jobs -- for counting */ edit_int64(now - period, ed1); Mmsg(query, count_select_job, ed1, edit_int64(cr.ClientId, ed2)); -- 2.39.5