* Version $Id$
*/
/*
- Copyright (C) 2000-2005 Kern Sibbald
+ Copyright (C) 2000-2006 Kern Sibbald
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
{
BSOCK *fd = jcr->file_bsock;
bool ok = true;
- DCR *dcr = jcr->dcr;
+ DCR *dcr = jcr->read_dcr;
Dmsg0(20, "Start read data.\n");
/* Send end of data to FD */
bnet_sig(fd, BNET_EOD);
- if (!release_device(dcr)) {
+ if (!release_device(jcr->read_dcr)) {
ok = false;
}