]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read.c
Update the Microsoft Visual Studio build to match the MinGW32 build.
[bacula/bacula] / bacula / src / stored / read.c
index 633cea29fab810a996d16c2aedf65dcaafc8cd44..412b4a20b73e214a2f15ed4ad03b38479ee81663 100644 (file)
@@ -75,7 +75,7 @@ bool do_read_data(JCR *jcr)
    /* Send end of data to FD */
    bnet_sig(fd, BNET_EOD);
 
-   if (!release_device(dcr)) {
+   if (!release_device(jcr->read_dcr)) {
       ok = false;
    }