Commit 8821967b authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

server: Add a missing socket protocol attribution.

The new socket has to inherit the information just like family and type.
parent 395289a3
......@@ -773,6 +773,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock )
acceptsock->hmask = 0;
acceptsock->pmask = 0;
acceptsock->polling = 0;
acceptsock->proto = sock->proto;
acceptsock->type = sock->type;
acceptsock->family = sock->family;
acceptsock->wparam = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment