From: Kern Sibbald Date: Thu, 17 Sep 2009 12:14:05 +0000 (+0200) Subject: Fix some job-start changes X-Git-Tag: Release-5.0.0~300^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0e7460e6a611e14f992196c952c38877898ab4ec;p=bacula%2Fbacula Fix some job-start changes --- diff --git a/bacula/src/dird/msgchan.c b/bacula/src/dird/msgchan.c index 2c9065f1dd..69e08ac6ab 100644 --- a/bacula/src/dird/msgchan.c +++ b/bacula/src/dird/msgchan.c @@ -50,7 +50,7 @@ static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; /* Commands sent to Storage daemon */ static char jobcmd[] = "JobId=%s job=%s job_name=%s client_name=%s " "type=%d level=%d FileSet=%s NoAttr=%d SpoolAttr=%d FileSetMD5=%s " - "SpoolData=%d WritePartAfterJob=%d PreferMountedVols=%d SpoolSize=%s " + "SpoolData=%d WritePartAfterJob=%d PreferMountedVols=%d SpoolSize=%s " "Resched=%d\n"; static char use_storage[] = "use storage=%s media_type=%s pool_name=%s " "pool_type=%s append=%d copy=%d stripe=%d\n"; diff --git a/bacula/src/stored/job.c b/bacula/src/stored/job.c index af54c51656..a69051ea93 100644 --- a/bacula/src/stored/job.c +++ b/bacula/src/stored/job.c @@ -100,7 +100,7 @@ bool job_cmd(JCR *jcr) &JobType, &level, fileset_name.c_str(), &no_attributes, &spool_attributes, fileset_md5.c_str(), &spool_data, &write_part_after_job, &PreferMountedVols, spool_size, - Resched); + &Resched); if (stat != 15) { /* Try old version */ stat = sscanf(dir->msg, jobcmd, &JobId, job.c_str(), job_name.c_str(),