From 8348a3742b938a1f3a24ee73ef8261931f93c7ff Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Mon, 15 Mar 2021 16:54:42 +0100 Subject: [PATCH] net: fix hSocket param in netbase.h::ConnectSocketDirectly() --- src/netbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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