aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-07-30 12:37:09 +0200
committerfanquake <fanquake@gmail.com>2022-04-26 10:41:45 +0100
commite53274868e0ec35156349826b0995bc444287690 (patch)
tree58ae5dc74e1b6621d7698c046559f932a759d349 /src/netbase.cpp
parentf436bfd126adaa64daba2e78016eb707e37eabce (diff)
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Diffstat (limited to 'src/netbase.cpp')
-rw-r--r--src/netbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 9557297df1..ce23f7e4ad 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -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;
}
}