aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tls_server.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-10-01 06:13:06 -0400
committerJack Lloyd <[email protected]>2017-10-01 06:13:06 -0400
commit97193ee43de6843d5e8a6eac67f54a8c315f52bb (patch)
treea78c34ef7c38c590d7e709cfcbb7ed956ac35bca /src/cli/tls_server.cpp
parentc868a71bdf77222f1700d3932d97d2a21e25b953 (diff)
Use explicit :: or std:: to refer to functions in namespaces
Diffstat (limited to 'src/cli/tls_server.cpp')
-rw-r--r--src/cli/tls_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/tls_server.cpp b/src/cli/tls_server.cpp
index eb4869899..0d3dca785 100644
--- a/src/cli/tls_server.cpp
+++ b/src/cli/tls_server.cpp
@@ -203,7 +203,7 @@ class TLS_Server final : public Command
if(got == -1)
{
- error_output() << "Error in socket read - " << strerror(errno) << std::endl;
+ error_output() << "Error in socket read - " << std::strerror(errno) << std::endl;
break;
}
@@ -313,7 +313,7 @@ class TLS_Server final : public Command
if(sent == -1)
{
- error_output() << "Error writing to socket - " << strerror(errno) << std::endl;
+ error_output() << "Error writing to socket - " << std::strerror(errno) << std::endl;
}
else if(sent != static_cast<ssize_t>(length))
{