summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-11 20:50:10 +0200
committerLioncash <mathew1800@gmail.com>2015-09-11 20:59:49 +0200
commit60b3fc01a2377e51d5d8acb497c75f41daf14030 (patch)
treee6f64223500d6f579a924b1c53b6a20813abf1ee /src/core/hle/service
parentMerge pull request #1141 from lioncash/hdr (diff)
downloadyuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar.gz
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar.bz2
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar.lz
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar.xz
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.tar.zst
yuzu-60b3fc01a2377e51d5d8acb497c75f41daf14030.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/soc_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp
index d768a3fc7..633b66fe2 100644
--- a/src/core/hle/service/soc_u.cpp
+++ b/src/core/hle/service/soc_u.cpp
@@ -485,7 +485,7 @@ static void GetHostId(Service::Interface* self) {
addrinfo* res;
hints.ai_family = AF_INET;
- getaddrinfo(name, NULL, &hints, &res);
+ getaddrinfo(name, nullptr, &hints, &res);
sockaddr_in* sock_addr = reinterpret_cast<sockaddr_in*>(res->ai_addr);
in_addr* addr = &sock_addr->sin_addr;