net: fix hSocket param in netbase.h::ConnectSocketDirectly()

This commit is contained in:
Jon Atack 2021-03-15 16:54:42 +01:00
parent e6bd74b2e5
commit 8348a3742b
No known key found for this signature in database
GPG key ID: 4F5721B3D0E3921D

View file

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