aboutsummaryrefslogtreecommitdiffstats
path: root/common/network/UnixSocket.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/network/UnixSocket.cxx')
-rw-r--r--common/network/UnixSocket.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/network/UnixSocket.cxx b/common/network/UnixSocket.cxx
index fb017a53..48561245 100644
--- a/common/network/UnixSocket.cxx
+++ b/common/network/UnixSocket.cxx
@@ -53,12 +53,12 @@ UnixSocket::UnixSocket(const char *path)
socklen_t salen;
if (strlen(path) >= sizeof(addr.sun_path))
- throw socket_error("socket path is too long", ENAMETOOLONG);
+ throw socket_error("Socket path is too long", ENAMETOOLONG);
// - Create a socket
sock = socket(AF_UNIX, SOCK_STREAM, 0);
if (sock == -1)
- throw socket_error("unable to create socket", errno);
+ throw socket_error("Unable to create socket", errno);
// - Attempt to connect
memset(&addr, 0, sizeof(addr));
@@ -119,7 +119,7 @@ UnixListener::UnixListener(const char *path, int mode)
int err, result;
if (strlen(path) >= sizeof(addr.sun_path))
- throw socket_error("socket path is too long", ENAMETOOLONG);
+ throw socket_error("Socket path is too long", ENAMETOOLONG);
// - Create a socket
if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)