Chromium Code Reviews| Index: net/socket/tcp_client_socket_libevent.h |
| diff --git a/net/socket/tcp_client_socket_libevent.h b/net/socket/tcp_client_socket_libevent.h |
| index 5519f3cbf5504bb05adcdc375796c9c91a5413f9..f46233094f2ea2e96eff560fb4496eb9b053d456 100644 |
| --- a/net/socket/tcp_client_socket_libevent.h |
| +++ b/net/socket/tcp_client_socket_libevent.h |
| @@ -155,8 +155,8 @@ class NET_EXPORT_PRIVATE TCPClientSocketLibevent : 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. |
|
eroman
2012/05/04 01:08:41
I don't like -1 for unsigned values. Please make t
szym
2012/05/04 02:38:29
Will do. That was my initial attempt, but then go
|
| + size_t current_address_index_; |
| // The socket's libevent wrappers |
| MessageLoopForIO::FileDescriptorWatcher read_socket_watcher_; |