Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/filed/dir_cmd.cc')
-rw-r--r--core/src/filed/dir_cmd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/filed/dir_cmd.cc b/core/src/filed/dir_cmd.cc
index 773a0cfa5..a47ca928f 100644
--- a/core/src/filed/dir_cmd.cc
+++ b/core/src/filed/dir_cmd.cc
@@ -471,7 +471,7 @@ void* process_director_commands(JobControlRecord* jcr, BareosSocket* dir)
if (jcr->JobId) { /* send EndJob if running a job */
char ed1[50], ed2[50];
// Send termination status back to Dir
- dir->fsend(EndJob, jcr->JobStatus, jcr->JobFiles,
+ dir->fsend(EndJob, jcr->getJobStatus(), jcr->JobFiles,
edit_uint64(jcr->ReadBytes, ed1),
edit_uint64(jcr->JobBytes, ed2), jcr->JobErrors,
jcr->impl->enable_vss, jcr->impl->crypto.pki_encrypt);