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