aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bacula-server/files/patch-src-dird-ua_prune.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/bacula-server/files/patch-src-dird-ua_prune.c')
-rw-r--r--sysutils/bacula-server/files/patch-src-dird-ua_prune.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/bacula-server/files/patch-src-dird-ua_prune.c b/sysutils/bacula-server/files/patch-src-dird-ua_prune.c
new file mode 100644
index 000000000000..3ffe4d9f6e08
--- /dev/null
+++ b/sysutils/bacula-server/files/patch-src-dird-ua_prune.c
@@ -0,0 +1,11 @@
+--- src/dird/ua_prune.c~ 2010-01-25 07:56:28.000000000 +0000
++++ src/dird/ua_prune.c 2010-01-26 13:31:52.000000000 +0000
+@@ -389,7 +389,7 @@
+ * 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,