diff options
author | Craig Tiller <ctiller@google.com> | 2016-05-20 08:48:22 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-05-20 08:48:22 -0700 |
commit | 8ad69bfab5d69987d9db7c9e85a7449d9708a914 (patch) | |
tree | e140565547a157092fb43df4185a08f806758206 /src | |
parent | 29dc490b94ad087e4c8b81a9610eb83ade9bbb16 (diff) |
Attempt to fix Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/iomgr/tcp_server_windows.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/tcp_server_windows.c b/src/core/lib/iomgr/tcp_server_windows.c index 125f521d87..87cacfe979 100644 --- a/src/core/lib/iomgr/tcp_server_windows.c +++ b/src/core/lib/iomgr/tcp_server_windows.c @@ -379,9 +379,10 @@ static void on_accept(grpc_exec_ctx *exec_ctx, void *arg, bool from_iocp) { /* The only time we should call our callback, is where we successfully managed to accept a connection, and created an endpoint. */ - if (ep) + if (ep) { sp->server->on_accept_cb(exec_ctx, sp->server->on_accept_cb_arg, ep, - &acceptor); + NULL, &acceptor); + } /* As we were notified from the IOCP of one and exactly one accept, the former socked we created has now either been destroy or assigned to the new connection. We need to create a new one for the next |