Bruno Jesus : server: Add a missing socket protocol attribution.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 12 09:33:53 CST 2014


Module: wine
Branch: master
Commit: 8821967bd6f96c9b2100c34b55ca10a52ece87b7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8821967bd6f96c9b2100c34b55ca10a52ece87b7

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Wed Nov 12 00:42:11 2014 -0200

server: Add a missing socket protocol attribution.

The new socket has to inherit the information just like family and type.

---

 server/sock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/sock.c b/server/sock.c
index 4adad0f..e124ad6 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -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;




More information about the wine-cvs mailing list