summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index dc070fd50..364c6f0e3 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1323,7 +1323,7 @@ struct NetworkLobbyWindow : public Window {
NetworkTCPQueryServer(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port)); // company info
NetworkUDPQueryServer(NetworkAddress(_settings_client.network.last_host, _settings_client.network.last_port)); // general data
/* Clear the information so removed companies don't remain */
- memset(this->company_info, 0, sizeof(company_info));
+ memset(this->company_info, 0, sizeof(this->company_info));
break;
}
}