return 0;
}
/* For newer FD turn on comm line compression */
- if (jcr->FDVersion >= 9 && director->comm_compression) {
+ if (jcr->FDVersion >= 214 && director->comm_compression) {
fd->set_compress();
} else {
fd->clear_compress();
quit = true;
break;
}
- Dmsg1(100, "Executing Dir %s command.\n", dir->msg);
+ Dmsg2(100, "Executing %s Dir %s command.\n", cmds[i].cmd, dir->msg);
if (!cmds[i].func(jcr)) { /* do command */
quit = true; /* error or fully terminated, get out */
Dmsg1(100, "Quit command loop. Canceled=%d\n", job_canceled(jcr));
jcr->SDVersion = sd_version;
Dmsg1(050, "FDVersion=%d\n", fd_version);
/* Turn on compression for newer FDs, except for Community version */
- if (jcr->FDVersion >= 9 && jcr->FDVersion != 213 && me->comm_compression) {
+ if (jcr->FDVersion >= 214 && me->comm_compression) {
cl->set_compress(); /* set compression allowed */
} else {
cl->clear_compress();