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/lib/recent_job_results_list.cc')
-rw-r--r--core/src/lib/recent_job_results_list.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/lib/recent_job_results_list.cc b/core/src/lib/recent_job_results_list.cc
index 3165c1af0..18724ba18 100644
--- a/core/src/lib/recent_job_results_list.cc
+++ b/core/src/lib/recent_job_results_list.cc
@@ -3,7 +3,7 @@
Copyright (C) 2000-2012 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
- Copyright (C) 2019-2019 Bareos GmbH & Co. KG
+ Copyright (C) 2019-2022 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of version three of the GNU Affero General Public
@@ -128,7 +128,7 @@ void RecentJobResultsList::Append(JobControlRecord* jcr)
bstrncpy(je.Job, jcr->Job, sizeof(je.Job));
je.JobFiles = jcr->JobFiles;
je.JobBytes = jcr->JobBytes;
- je.JobStatus = jcr->JobStatus;
+ je.JobStatus = jcr->getJobStatus();
je.JobLevel = jcr->getJobLevel();
je.start_time = jcr->start_time;
je.end_time = time(nullptr);