aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/net/XSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/net/XSocket.cpp')
-rw-r--r--src/lib/net/XSocket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/net/XSocket.cpp b/src/lib/net/XSocket.cpp
index eed7a26..6a50537 100644
--- a/src/lib/net/XSocket.cpp
+++ b/src/lib/net/XSocket.cpp
@@ -2,11 +2,11 @@
* barrier -- mouse and keyboard sharing utility
* Copyright (C) 2012-2016 Symless Ltd.
* Copyright (C) 2002 Chris Schoeneman
- *
+ *
* This package is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* found in the file LICENSE that should have accompanied this file.
- *
+ *
* This package is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -63,7 +63,7 @@ std::string XSocketAddress::getWhat() const noexcept
"invalid port" // m_port may not be set to the bad port
};
return format(s_errorID[m_error], s_errorMsg[m_error],
- m_hostname.c_str(),
+ m_hostname.c_str(),
barrier::string::sprintf("%d", m_port).c_str());
}