* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
errno in debug output.
This commit is contained in:
parent
510a85cbf9
commit
4997a508c8
|
@ -1,3 +1,8 @@
|
||||||
|
2007-02-20 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
|
||||||
|
errno in debug output.
|
||||||
|
|
||||||
2007-02-19 Christopher Faylor <me@cgf.cx>
|
2007-02-19 Christopher Faylor <me@cgf.cx>
|
||||||
|
|
||||||
Remove extraneous whitespace.
|
Remove extraneous whitespace.
|
||||||
|
|
|
@ -756,13 +756,13 @@ fhandler_socket::bind (const struct sockaddr *name, int namelen)
|
||||||
sin.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
|
sin.sin_addr.s_addr = htonl (INADDR_LOOPBACK);
|
||||||
if (::bind (get_socket (), (sockaddr *) &sin, len))
|
if (::bind (get_socket (), (sockaddr *) &sin, len))
|
||||||
{
|
{
|
||||||
syscall_printf ("AF_LOCAL: bind failed %d", get_errno ());
|
syscall_printf ("AF_LOCAL: bind failed");
|
||||||
set_winsock_errno ();
|
set_winsock_errno ();
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
if (::getsockname (get_socket (), (sockaddr *) &sin, &len))
|
if (::getsockname (get_socket (), (sockaddr *) &sin, &len))
|
||||||
{
|
{
|
||||||
syscall_printf ("AF_LOCAL: getsockname failed %d", get_errno ());
|
syscall_printf ("AF_LOCAL: getsockname failed");
|
||||||
set_winsock_errno ();
|
set_winsock_errno ();
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue