From f5857c4689b0717ca33d7ab994e406d80275e7b6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Oct 2018 19:56:08 +0100 Subject: [PATCH] net/SocketUtil: update API documentation --- src/net/SocketUtil.hxx | 4 +--- 1 file changed, 1 insertion(+), 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