From: Mikko Rasa Date: Sun, 9 Oct 2016 15:08:38 +0000 (+0300) Subject: Fill in a missing parameter for check_sys_error X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=93fc08266f938c667df869ae4fee77a584004af1;p=libs%2Fnet.git Fill in a missing parameter for check_sys_error This was supposed to be in b069cfc but somehow didn't make it into the commit. --- diff --git a/source/net/streamserversocket.cpp b/source/net/streamserversocket.cpp index 1823dbd..817145b 100644 --- a/source/net/streamserversocket.cpp +++ b/source/net/streamserversocket.cpp @@ -38,7 +38,7 @@ StreamSocket *StreamServerSocket::accept() SockAddr::SysAddr sa; Private new_p; - new_p.handle = check_sys_error(::accept(priv->handle, reinterpret_cast(&sa.addr), &sa.size)); + new_p.handle = check_sys_error(::accept(priv->handle, reinterpret_cast(&sa.addr), &sa.size), "accept"); RefPtr paddr = SockAddr::new_from_sys(sa); return new StreamSocket(new_p, *paddr);