diff options
author | Jon Atack <jon@atack.com> | 2021-03-15 16:54:42 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-03-15 16:57:48 +0100 |
commit | 8348a3742b938a1f3a24ee73ef8261931f93c7ff (patch) | |
tree | 308578b4d2f81ebbedf068a56379911015ae4bd8 | |
parent | e6bd74b2e5f7f68614ca77a6667520b39feb9247 (diff) |
net: fix hSocket param in netbase.h::ConnectSocketDirectly()
-rw-r--r-- | src/netbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.h b/src/netbase.h index e13ca4dbc5..e98a21ce1f 100644 --- a/src/netbase.h +++ b/src/netbase.h @@ -202,7 +202,7 @@ extern std::function<std::unique_ptr<Sock>(const CService&)> CreateSock; * * @returns Whether or not a connection was successfully made. */ -bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocketRet, int nTimeout, bool manual_connection); +bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocket, int nTimeout, bool manual_connection); /** * Connect to a specified destination service through a SOCKS5 proxy by first |