The pending/connected connection lists were not initialized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19258 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
42f2af4d4d
commit
ead36a7efb
@ -49,7 +49,8 @@ create_socket(int family, int type, int protocol, net_socket **_socket)
|
||||
socket->receive.low_water_mark = 1;
|
||||
socket->receive.timeout = B_INFINITE_TIMEOUT;
|
||||
|
||||
socket->select_pool = NULL;
|
||||
list_init_etc(&socket->pending_children, offsetof(net_socket, link));
|
||||
list_init_etc(&socket->connected_children, offsetof(net_socket, link));
|
||||
|
||||
status = get_domain_protocols(socket);
|
||||
if (status < B_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user