}
} while (ok && dir->recv() >= 0);
+#ifdef xxxx
/* Developer debug code */
char *device_name;
if (debug_level >= dbglvl) {
}
}
}
+#endif
init_jcr_device_wait_timers(jcr);
jcr->dcr = new_dcr(jcr, NULL, NULL); /* get a dcr */
bool fail = false;
rctx.notify_dir = true;
+ /* Put new dcr in proper location */
+ if (rctx.append) {
+ rctx.jcr->dcr = jcr->dcr;
+ } else {
+ rctx.jcr->read_dcr = jcr->dcr;
+ }
lock_reservations();
for ( ; !fail && !job_canceled(jcr); ) {
pop_reserve_messages(jcr);