From 98bda6af3bc7a7448b34eb3b37fbdd863de21680 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 17 Sep 2009 14:14:05 +0200 Subject: [PATCH] Fix some job-start changes --- bacula/src/dird/msgchan.c | 2 +- bacula/src/stored/job.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(), -- 2.39.5