aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-12-29 23:01:26 +0100
committerGitHub <noreply@github.com>2021-12-29 23:01:26 +0100
commit0ea8df4d64959a7c7ec4e55b4895d6b16dad3000 (patch)
tree3f1e0cf533142974d2d294f890396992bfdcbe02 /src/client
parent05573d6d8d9e5a756ab1b03b159b127144f8e775 (diff)
downloadminetest-0ea8df4d64959a7c7ec4e55b4895d6b16dad3000.tar.gz
minetest-0ea8df4d64959a7c7ec4e55b4895d6b16dad3000.tar.bz2
minetest-0ea8df4d64959a7c7ec4e55b4895d6b16dad3000.zip
Socket-related cleanups
Improve error handling on Windows and reduce the size of the `Address` class
Diffstat (limited to 'src/client')
-rw-r--r--src/client/game.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 853a52ecf..f62d26e8f 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -1444,7 +1444,6 @@ bool Game::connectToServer(const GameStartData &start_data,
connect_address.Resolve(start_data.address.c_str());
if (connect_address.isZero()) { // i.e. INADDR_ANY, IN6ADDR_ANY
- //connect_address.Resolve("localhost");
if (connect_address.isIPv6()) {
IPv6AddressBytes addr_bytes;
addr_bytes.bytes[15] = 1;