]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/read.c
- Fix ANSI labels to put EOF1 and EOF2 after each file mark.
[bacula/bacula] / bacula / src / stored / read.c
index ec0cdc18b08848bd064bf9cf6c9664f7b138232d..b6f5525c07eea1215cb05fa3bea84c97aad21107 100644 (file)
@@ -80,7 +80,7 @@ bool do_read_data(JCR *jcr)
    /* Send end of data to FD */
    bnet_sig(fd, BNET_EOD);
 
-   if (!release_device(jcr)) {
+   if (!release_device(dcr)) {
       ok = false;
    }