mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
This commit is contained in:
@@ -675,7 +675,7 @@ bool ConnectThroughProxy(const Proxy& proxy, const std::string& strDest, uint16_
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!Socks5(strDest, port, 0, sock)) {
|
||||
if (!Socks5(strDest, port, nullptr, sock)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user