Alexandre Julliard : server: Copy completion information for accepted socket into the new file descriptor.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 16 10:34:24 CDT 2015


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Mar 16 22:16:50 2015 +0900

server: Copy completion information for accepted socket into the new file descriptor.

---

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

diff --git a/server/sock.c b/server/sock.c
index f3bab85..823c846 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -828,6 +828,7 @@ static int accept_into_socket( struct sock *sock, struct sock *acceptsock )
     acceptsock->wparam  = 0;
     acceptsock->deferred = NULL;
     acceptsock->connect_time = current_time;
+    fd_copy_completion( acceptsock->fd, newfd );
     release_object( acceptsock->fd );
     acceptsock->fd = newfd;
 




More information about the wine-cvs mailing list