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/stored/sd_plugins.cc')
-rw-r--r--core/src/stored/sd_plugins.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/stored/sd_plugins.cc b/core/src/stored/sd_plugins.cc
index 943ba9480..53d4ed56a 100644
--- a/core/src/stored/sd_plugins.cc
+++ b/core/src/stored/sd_plugins.cc
@@ -736,9 +736,9 @@ static bRC bareosGetValue(PluginContext* ctx, bsdrVariable var, void* value)
NPRT(*((char**)value)));
break;
case bsdVarJobStatus:
- *((int*)value) = jcr->JobStatus;
+ *((int*)value) = jcr->getJobStatus();
Dmsg1(debuglevel, "sd-plugin: return bsdVarJobStatus=%c\n",
- jcr->JobStatus);
+ jcr->getJobStatus());
break;
case bsdVarVolumeName:
if (jcr->impl->dcr) {