From: Eric Bollengier Date: Sun, 18 Feb 2007 10:51:23 +0000 (+0000) Subject: ebl avoid loop in show command when NextPool = Pool X-Git-Tag: Release-7.0.0~6877 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=43b20b88bf5c9ef8da4f746796a2e902405be4f2;p=bacula%2Fbacula 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 --- 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;