Basic GUI

This commit is contained in:
Guillaume Meunier committed 2024-01-28 11:33:35 +01:00
1 parent a7bd88aa6c
commit d84095e1ea
42 files changed
+1970 -363

No files matched your search

+1 -1
View File
@@ -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));
}