]> git.sur5r.net Git - bacula/bacula/commitdiff
Properly save RecyclePoolId
authorKern Sibbald <kern@sibbald.com>
Thu, 19 Jul 2007 13:41:07 +0000 (13:41 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 19 Jul 2007 13:41:07 +0000 (13:41 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5201 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/next_vol.c

index 1e8a4c41989dd42b529ade80306aa06495e41e81..4e6eae4df42a00329117df500382f0ca7ef965f2 100644 (file)
@@ -396,6 +396,8 @@ bool get_scratch_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr)
                  db_strerror(jcr->db));
             goto bail_out;
          }
+         smr.RecyclePoolId = mr->RecyclePoolId;
+
          /* Set default parameters from current pool */
          set_pool_dbr_defaults_in_media_dbr(mr, &pr);