summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-10-30 19:56:08 +0100
committerMax Kellermann <max@musicpd.org>2018-10-30 19:56:10 +0100
commitf5857c4689b0717ca33d7ab994e406d80275e7b6 (patch)
tree73cec926787bf80ed2199f590ac94bcf2e8a8403
parent2c388434dd54418df4280c66e7fc4d5b3f5bb93e (diff)
net/SocketUtil: update API documentation
-rw-r--r--src/net/SocketUtil.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/SocketUtil.hxx b/src/net/SocketUtil.hxx
index b8a14ea4d..e6239e64b 100644
--- a/src/net/SocketUtil.hxx
+++ b/src/net/SocketUtil.hxx
@@ -37,15 +37,13 @@ class SocketAddress;
* access. The caller is responsible to apply proper permissions
* at a later point.
*
- * Throws #std::system_error on error.
+ * Throws on error.
*
* @param domain the socket domain, e.g. PF_INET6
* @param type the socket type, e.g. SOCK_STREAM
* @param protocol the protocol, usually 0 to let the kernel choose
* @param address the address to listen on
* @param backlog the backlog parameter for the listen() system call
- * @param error location to store the error occurring, or NULL to
- * ignore errors
* @return the socket file descriptor
*/
UniqueSocketDescriptor