BSOCK *dir = jcr->dir_bsock;
char ec1[30];
- dir->jcr = jcr;
+ dir->set_jcr(jcr);
Dmsg1(120, "Start run Job=%s\n", jcr->Job);
bnet_fsend(dir, Job_start, jcr->Job);
jcr->start_time = time(NULL);
bool found, quit;
BSOCK *fd = jcr->file_bsock;
- fd->jcr = jcr;
+ fd->set_jcr(jcr);
for (quit=false; !quit;) {
int stat;
jcr->JobType = JT_BACKUP;
if (do_append_data(jcr)) {
return true;
-#ifdef xxx
- return bnet_fsend(fd, OK_append);
-#endif
} else {
bnet_suppress_error_messages(fd, 1); /* ignore errors at this point */
bnet_fsend(fd, ERROR_append);