]> 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>
Wed, 28 Apr 2010 13:01:07 +0000 (15:01 +0200)
bacula/src/dird/dird_conf.c

index da7db734466012bfe46cb3f5cd8999605ef3c4a4..6c2765f9abbb9d071d950b435ec4ed96c5b2d7d3 100644 (file)
@@ -965,8 +965,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());
       }