X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Flib%2Fjcr.c;h=63460c3722ac048beb45b179f82cb7c6173c0881;hb=6389002a1b454e8be28ab32402719b6f025b164d;hp=f45683ef30203f60bae3a08f22c1e856a950a485;hpb=6c90fbc506f0f89a27a5b5d19dd05f089dfae7bf;p=bacula%2Fbacula diff --git a/bacula/src/lib/jcr.c b/bacula/src/lib/jcr.c index f45683ef30..63460c3722 100644 --- a/bacula/src/lib/jcr.c +++ b/bacula/src/lib/jcr.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2008 Free Software Foundation Europe e.V. + Copyright (C) 2000-2009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -367,9 +367,9 @@ JCR *new_jcr(int size, JCR_free_HANDLER *daemon_free_jcr) /* Setup some dummy values */ bstrncpy(jcr->Job, "*System*", sizeof(jcr->Job)); jcr->JobId = 0; - jcr->set_JobType(JT_SYSTEM); /* internal job until defined */ - jcr->set_JobLevel(L_NONE); - set_jcr_job_status(jcr, JS_Created); /* ready to run */ + jcr->setJobType(JT_SYSTEM); /* internal job until defined */ + jcr->setJobLevel(L_NONE); + jcr->setJobStatus(JS_Created); /* ready to run */ set_jcr_in_tsd(jcr); sigtimer.sa_flags = 0; sigtimer.sa_handler = timeout_handler; @@ -740,6 +740,7 @@ static int get_status_priority(int JobStatus) case JS_ErrorTerminated: case JS_FatalError: case JS_Canceled: + case JS_Incomplete: priority = 10; break; case JS_Error: