From: Eric Bollengier Date: Sun, 10 Feb 2008 09:16:17 +0000 (+0000) Subject: ebl Fix #1031 about wrong pool source information in job report X-Git-Tag: Release-7.0.0~5047 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b07fe5ba0aeb247d219294402d19db9074098929;p=bacula%2Fbacula ebl Fix #1031 about wrong pool source information in job report git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6389 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index 40eeb6e14a..5b1267d70d 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -122,6 +122,9 @@ try_again: jcr->verify_job = rc.verify_job; jcr->previous_job = rc.previous_job; jcr->pool = rc.pool; + if (jcr->pool != jcr->job->pool) { + pm_strcpy(jcr->pool_source, _("User input")); + } set_rwstorage(jcr, rc.store); jcr->client = rc.client; pm_strcpy(jcr->client_name, rc.client->name()); diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 6c5cd92b89..c786cb6230 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,8 @@ Technical notes on version 2.3 General: +10Feb08 +ebl Fix #1031 about wrong pool source information in job report. 09Feb08 kes Fix Win32 build. kes Remove a redundant jcr argument to find_files, match_files, and