X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fread.c;h=b6f5525c07eea1215cb05fa3bea84c97aad21107;hb=7503a438c87931cf1748bd0fda3bb932e2af3346;hp=ec0cdc18b08848bd064bf9cf6c9664f7b138232d;hpb=bb2dd1b87f7b8c781404c4bc97de23446bb6eaf2;p=bacula%2Fbacula diff --git a/bacula/src/stored/read.c b/bacula/src/stored/read.c index ec0cdc18b0..b6f5525c07 100644 --- a/bacula/src/stored/read.c +++ b/bacula/src/stored/read.c @@ -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; }