]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.c
Add %D option to edit_job_code, simplify callbacks on director side
[bacula/bacula] / bacula / src / stored / stored.c
index 779507b996212f256da1b18fb59500399f56c402..4c485ad18b3e5be3bd838acecf1f27a624917ef5 100644 (file)
@@ -612,7 +612,7 @@ void terminate_stored(int sig)
             free_jcr(jcr);
             continue;                 /* ignore console */
          }
-         set_jcr_job_status(jcr, JS_Canceled);
+         jcr->setJobStatus(JS_Canceled);
          fd = jcr->file_bsock;
          if (fd) {
             fd->set_timed_out();