* fhandler_socket.cc (fhandler_socket::dup): Initialize type.
This commit is contained in:
parent
f061780ce8
commit
12390bc40d
|
@ -1,3 +1,7 @@
|
||||||
|
2003-03-04 Jason Tishler <jason@tishler.net>
|
||||||
|
|
||||||
|
* fhandler_socket.cc (fhandler_socket::dup): Initialize type.
|
||||||
|
|
||||||
2003-03-03 Christopher Faylor <cgf@redhat.com>
|
2003-03-03 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler.h (fhandler_tty_slave::close): Declare new function.
|
* fhandler.h (fhandler_tty_slave::close): Declare new function.
|
||||||
|
|
|
@ -383,6 +383,7 @@ fhandler_socket::dup (fhandler_base *child)
|
||||||
fhs->set_io_handle (get_io_handle ());
|
fhs->set_io_handle (get_io_handle ());
|
||||||
if (get_addr_family () == AF_LOCAL)
|
if (get_addr_family () == AF_LOCAL)
|
||||||
fhs->set_sun_path (get_sun_path ());
|
fhs->set_sun_path (get_sun_path ());
|
||||||
|
fhs->set_socket_type (get_socket_type ());
|
||||||
|
|
||||||
fhs->fixup_before_fork_exec (GetCurrentProcessId ());
|
fhs->fixup_before_fork_exec (GetCurrentProcessId ());
|
||||||
if (winsock2_active)
|
if (winsock2_active)
|
||||||
|
|
Loading…
Reference in New Issue