From 6df3ee95ddae7ff5e8a1eaa3c962bf7dffb18480 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 18 Feb 2007 10:51:23 +0000 Subject: [PATCH] ebl avoid loop in show command when NextPool = Pool git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4200 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/dird_conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index 5494f0eca3..301d9b1661 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -361,6 +361,7 @@ static RES_ITEM pool_items[] = { {"storage", store_alist_res, ITEM(res_pool.storage), R_STORAGE, 0, 0}, {"autoprune", store_bool, ITEM(res_pool.AutoPrune), 0, ITEM_DEFAULT, true}, {"recycle", store_bool, ITEM(res_pool.Recycle), 0, ITEM_DEFAULT, true}, + {"recyclepool", store_res, ITEM(res_pool.RecyclePool), R_POOL, 0, 0}, {NULL, NULL, {0}, 0, 0, 0} }; @@ -853,8 +854,7 @@ next_run: edit_uint64(res->res_pool.MigrationHighBytes, ed2), edit_uint64(res->res_pool.MigrationLowBytes, ed3)); if (res->res_pool.NextPool) { - sendit(sock, _(" --> ")); - dump_resource(-R_POOL, (RES *)res->res_pool.NextPool, sendit, sock); + sendit(sock, _(" NextPool=%s\n"), res->res_pool.NextPool->hdr.name); } if (res->res_pool.storage) { STORE *store; -- 2.39.5