Basic GUI

This commit is contained in:
Guillaume Meunier
2024-01-28 11:33:35 +01:00
parent a7bd88aa6c
commit d84095e1ea
42 changed files with 1970 additions and 363 deletions
+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));
}