From b1eb782e8c8eb87ffe7c3bf743f1d8d751a2a6df Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 23 May 2008 20:59:03 +0000 Subject: [PATCH] ebl Fix #1091 about bad output in estimate command. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7013 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/ua_cmds.c | 2 +- bacula/technotes-2.3 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bacula/src/dird/ua_cmds.c b/bacula/src/dird/ua_cmds.c index db8d98dab9..633e3a6b3d 100644 --- a/bacula/src/dird/ua_cmds.c +++ b/bacula/src/dird/ua_cmds.c @@ -1165,7 +1165,7 @@ static int estimate_cmd(UAContext *ua, const char *cmd) get_level_since_time(ua->jcr, since, sizeof(since)); ua->send_msg(_("Connecting to Client %s at %s:%d\n"), - job->client->name(), job->client->address, job->client->FDport); + jcr->client->name(), jcr->client->address, jcr->client->FDport); if (!connect_to_file_daemon(jcr, 1, 15, 0)) { ua->error_msg(_("Failed to connect to Client.\n")); return 1; diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index f4ce34889c..fdf992b50d 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -24,6 +24,8 @@ Add long term statistics job table General: +23May08 +ebl Fix #1091 about bad output in estimate command. 21May08 kes Modify autochanger locking to attempt to avoid race conditions. -- 2.39.5