Merge pull request #7004 from kpayson64/set_windows_port

Initialize port to -1
pull/7017/head
Jan Tattermusch 9 years ago committed by GitHub
commit d93d3dd697
  1. 2
      src/core/lib/iomgr/tcp_server_windows.c

@ -396,7 +396,7 @@ static grpc_error *add_socket_to_server(grpc_tcp_server *s, SOCKET sock,
size_t addr_len, unsigned port_index,
grpc_tcp_listener **listener) {
grpc_tcp_listener *sp = NULL;
int port;
int port = -1;
int status;
GUID guid = WSAID_ACCEPTEX;
DWORD ioctl_num_bytes;

Loading…
Cancel
Save