event/ServerSocket, doc, ...: refer to AF_LOCAL as "local socket"

.. and not "UNIX domain socket.  Be consistent about the naming.
This commit is contained in:
Max Kellermann
2019-03-20 12:57:26 +01:00
parent 7de8fd04a4
commit 4f408bd952
8 changed files with 12 additions and 12 deletions

View File

@@ -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 */
}

View File

@@ -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.
*