| Index: net/socket/tcp_client_socket_win.h
|
| diff --git a/net/socket/tcp_client_socket_win.h b/net/socket/tcp_client_socket_win.h
|
| index 9fffab82b808bdd4f978631b419e7a4660d44dda..c17a0b979f0b07bc608297c7870363ef8b0e51eb 100644
|
| --- a/net/socket/tcp_client_socket_win.h
|
| +++ b/net/socket/tcp_client_socket_win.h
|
| @@ -84,7 +84,7 @@ class NET_EXPORT TCPClientSocketWin : public StreamSocket,
|
| int DoConnectComplete(int result);
|
|
|
| // Helper used by Disconnect(), which disconnects minus the logging and
|
| - // resetting of current_ai_.
|
| + // resetting of current_address_index_.
|
| void DoDisconnect();
|
|
|
| // Returns true if a Connect() is in progress.
|
| @@ -113,8 +113,8 @@ class NET_EXPORT TCPClientSocketWin : public StreamSocket,
|
| // The list of addresses we should try in order to establish a connection.
|
| AddressList addresses_;
|
|
|
| - // Where we are in above list, or NULL if all addrinfos have been tried.
|
| - const struct addrinfo* current_ai_;
|
| + // Where we are in above list. Set to -1 if uninitialized.
|
| + int current_address_index_;
|
|
|
| // The various states that the socket could be in.
|
| bool waiting_read_;
|
|
|