summaryrefslogtreecommitdiff
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-03-20 12:57:26 +0100
committerMax Kellermann <max@musicpd.org>2019-03-20 12:57:26 +0100
commit4f408bd952e3ddac2168ddbd2ca2c88a561bf91f (patch)
tree20a6c0c65a2580852382ce19be7c180d5f565f75 /src/event
parent7de8fd04a4dfbd0dbc1d021f3d096724069cde2b (diff)
event/ServerSocket, doc, ...: refer to AF_LOCAL as "local socket"
.. and not "UNIX domain socket. Be consistent about the naming.
Diffstat (limited to 'src/event')
-rw-r--r--src/event/ServerSocket.cxx2
-rw-r--r--src/event/ServerSocket.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/event/ServerSocket.cxx b/src/event/ServerSocket.cxx
index 73e070c9e..38f84b873 100644
--- a/src/event/ServerSocket.cxx
+++ b/src/event/ServerSocket.cxx
@@ -392,7 +392,7 @@ ServerSocket::AddPath(AllocatedPath &&path)
#else /* !HAVE_UN */
(void)path;
- throw std::runtime_error("UNIX domain socket support is disabled");
+ throw std::runtime_error("Local socket support is disabled");
#endif /* !HAVE_UN */
}
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 8a36dded7..91c129458 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -90,7 +90,7 @@ public:
void AddHost(const char *hostname, unsigned port);
/**
- * Add a listener on a Unix domain socket.
+ * Add a listener on a local socket.
*
* Throws #std::runtime_error on error.
*