Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)

This commit is contained in:
practicalswift
2018-07-30 12:37:09 +02:00
committed by fanquake
parent f436bfd126
commit e53274868e
8 changed files with 10 additions and 10 deletions

View File

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