]> git.sur5r.net Git - bacula/bacula/commitdiff
Temp fix for prune crash
authorKern Sibbald <kern@sibbald.com>
Mon, 7 Dec 2009 23:05:15 +0000 (00:05 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 7 Dec 2009 23:05:15 +0000 (00:05 +0100)
bacula/src/dird/ua_prune.c

index 8155d4f8a133d5b8654a1957a267a7331276e488..0c08238262efe52f2b332102f53e9038d0cf2f56 100644 (file)
@@ -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));