diff options
Diffstat (limited to 'core/src/stored/sd_plugins.cc')
-rw-r--r-- | core/src/stored/sd_plugins.cc | 4 |
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) { |