]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix for bug #1560 bcopy cannot find Volume
authorKern Sibbald <kern@sibbald.com>
Sat, 24 Apr 2010 15:02:44 +0000 (17:02 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:44 +0000 (16:53 +0200)
bacula/src/stored/dev.c

index e7b8f3f1b55a438c3fea3e88b7451f62941594ce..5ce5712eff40713d4a985f8252e2262ed28f7322 100644 (file)
@@ -353,6 +353,7 @@ DEVICE::open(DCR *dcr, int omode)
       }
    }
    if (dcr) {
+      dcr->setVolCatName(dcr->VolumeName);
       VolCatInfo = dcr->VolCatInfo;    /* structure assign */
    }