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

pull/826/head
Jon Atack 4 years ago
parent e6bd74b2e5
commit 8348a3742b
No known key found for this signature in database
GPG Key ID: 4F5721B3D0E3921D

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

Loading…
Cancel
Save