From: Kern Sibbald Date: Thu, 19 Jul 2007 09:28:32 +0000 (+0000) Subject: Correct compile error X-Git-Tag: Release-7.0.0~5983 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=01694067bc6bf61fbf0d7ec555e0ba0424b154aa;p=bacula%2Fbacula Correct compile error git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5199 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/next_vol.c b/bacula/src/dird/next_vol.c index 1a4f8b4a7e..1e8a4c4198 100644 --- a/bacula/src/dird/next_vol.c +++ b/bacula/src/dird/next_vol.c @@ -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"),