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/evaluate_job_command.cc')
-rw-r--r--core/src/filed/evaluate_job_command.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/filed/evaluate_job_command.cc b/core/src/filed/evaluate_job_command.cc
index 81c99707d..f3b70c7c8 100644
--- a/core/src/filed/evaluate_job_command.cc
+++ b/core/src/filed/evaluate_job_command.cc
@@ -1,7 +1,7 @@
/**
BAREOSĀ® - Backup Archiving REcovery Open Sourced
- 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
@@ -33,10 +33,10 @@ JobCommand::JobCommand(const char* msg) : job_{0}, sd_auth_key_{0}
{
ProtocolVersion protocol = ProtocolVersion::kVersionUndefinded;
- std::vector<ProtocolVersion> implemented_protocols{
+ std::vector<ProtocolVersion> fd_implemented_protocols{
ProtocolVersion::kVersionFrom_18_2, ProtocolVersion::KVersionBefore_18_2};
- for (auto protocol_try : implemented_protocols) {
+ for (auto protocol_try : fd_implemented_protocols) {
switch (protocol_try) {
case ProtocolVersion::kVersionFrom_18_2:
if (sscanf(msg, jobcmdssl_.c_str(), &job_id_, job_, &vol_session_id_,