Merge pull request #7004 from kpayson64/set_windows_port

Initialize port to -1
This commit is contained in:
Jan Tattermusch 2016-06-22 18:37:53 -07:00 committed by GitHub
commit d93d3dd697
1 changed files with 1 additions and 1 deletions

View File

@ -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;