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