]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_server.c
Ensure that StorageId is updated after write
[bacula/bacula] / bacula / src / dird / ua_server.c
index 03c8c5b3fa5e7e3878e52bd14fa4c11669a9fd45..b602e0a1e0e7e63989e8cfcaedc9c3462fcc067a 100644 (file)
@@ -105,7 +105,7 @@ JCR *new_control_jcr(const char *base_name, int job_type)
    jcr->sched_time = jcr->start_time;
    jcr->setJobType(job_type);
    jcr->setJobLevel(L_NONE);
-   set_jcr_job_status(jcr, JS_Running);
+   jcr->setJobStatus(JS_Running);
    jcr->JobId = 0;
    return jcr;
 }