From: Kern Sibbald Date: Mon, 7 Dec 2009 23:05:15 +0000 (+0100) Subject: Temp fix for prune crash X-Git-Tag: Release-7.0.0~2494 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b43aedaa7f8d07e9d92343c7c68ec8d16f6440e;p=bacula%2Fbacula Temp fix for prune crash --- 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));