mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-12-03 07:12:51 -08:00
Basic GUI
This commit is contained in:
1 parent
a7bd88aa6c
commit
d84095e1ea
42 files changed
+1970
-363
No files matched your search
+1
-1
@@ -73,7 +73,7 @@ void real_main()
|
||||
.ai_socktype = SOCK_STREAM,
|
||||
};
|
||||
struct addrinfo * addresses;
|
||||
if (int err = getaddrinfo(server_address.c_str(), NULL, &hint, &addresses))
|
||||
if (int err = getaddrinfo(server_address.c_str(), nullptr, &hint, &addresses))
|
||||
{
|
||||
throw std::runtime_error("Unable to resolve address for " + server_address + ":" + gai_strerror(err));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user