Skip to content

Commit 8348a37

Browse files
committed
net: fix hSocket param in netbase.h::ConnectSocketDirectly()
1 parent e6bd74b commit 8348a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netbase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ extern std::function<std::unique_ptr<Sock>(const CService&)> CreateSock;
202202
*
203203
* @returns Whether or not a connection was successfully made.
204204
*/
205-
bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocketRet, int nTimeout, bool manual_connection);
205+
bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocket, int nTimeout, bool manual_connection);
206206

207207
/**
208208
* Connect to a specified destination service through a SOCKS5 proxy by first

0 commit comments

Comments
 (0)