]> git.sur5r.net Git - bacula/bacula/commitdiff
Correct compile error
authorKern Sibbald <kern@sibbald.com>
Thu, 19 Jul 2007 09:28:32 +0000 (09:28 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 19 Jul 2007 09:28:32 +0000 (09:28 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5199 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/next_vol.c

index 1a4f8b4a7e59b5b8432b83f5f4761a3fc4348991..1e8a4c41989dd42b529ade80306aa06495e41e81 100644 (file)
@@ -405,7 +405,7 @@ bool get_scratch_volume(JCR *jcr, bool InChanger, MEDIA_DBR *mr)
           *   RecyclePoolId.
           */
          bstrncpy(mr->VolStatus, smr.VolStatus, sizeof(smr.VolStatus));
-         mr.RecyclePoolId = smr.RecyclePoolId;
+         mr->RecyclePoolId = smr.RecyclePoolId;
 
          if (!db_update_media_record(jcr, jcr->db, mr)) {
             Jmsg(jcr, M_WARNING, 0, _("Failed to move Scratch Volume. ERR=%s\n"),