]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix File and Job Retention in show pool command
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 28 Apr 2010 13:00:52 +0000 (15:00 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:45 +0000 (16:53 +0200)
bacula/src/dird/dird_conf.c

index ca1d5f9ab47afc6d287162c4187c11a113b4cc8e..10cf44320c022f9cb673c6c3f50866328627b5fd 100644 (file)
@@ -964,8 +964,8 @@ next_run:
               edit_uint64(res->res_pool.MigrationHighBytes, ed2),
               edit_uint64(res->res_pool.MigrationLowBytes, ed3));
       sendit(sock, _("      JobRetention=%s FileRetention=%s\n"),
-         edit_utime(res->res_client.JobRetention, ed1, sizeof(ed1)),
-         edit_utime(res->res_client.FileRetention, ed2, sizeof(ed2)));
+         edit_utime(res->res_pool.JobRetention, ed1, sizeof(ed1)),
+         edit_utime(res->res_pool.FileRetention, ed2, sizeof(ed2)));
       if (res->res_pool.NextPool) {
          sendit(sock, _("      NextPool=%s\n"), res->res_pool.NextPool->name());
       }