This was supposed to be in
b069cfc but somehow didn't make it into the
commit.
SockAddr::SysAddr sa;
Private new_p;
- new_p.handle = check_sys_error(::accept(priv->handle, reinterpret_cast<sockaddr *>(&sa.addr), &sa.size));
+ new_p.handle = check_sys_error(::accept(priv->handle, reinterpret_cast<sockaddr *>(&sa.addr), &sa.size), "accept");
RefPtr<SockAddr> paddr = SockAddr::new_from_sys(sa);
return new StreamSocket(new_p, *paddr);