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/bsock.cc')
-rw-r--r--core/src/lib/bsock.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/lib/bsock.cc b/core/src/lib/bsock.cc
index 5eadb5d09..a4817059a 100644
--- a/core/src/lib/bsock.cc
+++ b/core/src/lib/bsock.cc
@@ -97,11 +97,11 @@ BareosSocket::BareosSocket(const BareosSocket& other)
in_msg_no = other.in_msg_no;
out_msg_no = other.out_msg_no;
message_length = other.message_length;
- timer_start = other.timer_start;
+ timer_start = other.timer_start.load();
b_errno = other.b_errno;
blocking_ = other.blocking_;
- errors = other.errors;
- suppress_error_msgs_ = other.suppress_error_msgs_;
+ errors = other.errors.load();
+ suppress_error_msgs_ = other.suppress_error_msgs_.load();
sleep_time_after_authentication_error
= other.sleep_time_after_authentication_error;
client_addr = other.client_addr;