summaryrefslogtreecommitdiffstats
path: root/net/socket/socks_client_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket/socks_client_socket.cc')
-rw-r--r--net/socket/socks_client_socket.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/socket/socks_client_socket.cc b/net/socket/socks_client_socket.cc
index 3575729..8b08dc1 100644
--- a/net/socket/socks_client_socket.cc
+++ b/net/socket/socks_client_socket.cc
@@ -196,7 +196,8 @@ int SOCKSClientSocket::DoResolveHost() {
DCHECK_EQ(kSOCKS4Unresolved, socks_version_);
next_state_ = STATE_RESOLVE_HOST_COMPLETE;
- return host_resolver_.Resolve(host_request_info_, &addresses_, &io_callback_);
+ return host_resolver_.Resolve(
+ NULL, host_request_info_, &addresses_, &io_callback_);
}
int SOCKSClientSocket::DoResolveHostComplete(int result) {