]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix #1031 about wrong pool source information in job report
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 10 Feb 2008 09:16:17 +0000 (09:16 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 10 Feb 2008 09:16:17 +0000 (09:16 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6389 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/ua_run.c
bacula/technotes-2.3

index 40eeb6e14aed12c412a83e9f0e352b7765c4a014..5b1267d70d674c9e9563dc1dd289136e6fd6db05 100644 (file)
@@ -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());
index 6c5cd92b8959b7eacce21910e26b15d2099353fe..c786cb6230cbab2fcbb6af145c1b039a6920cab2 100644 (file)
@@ -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