summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-02-24 22:25:23 +0000
committersmatz <smatz@openttd.org>2009-02-24 22:25:23 +0000
commit3707a11e5eafec7674c7418d0221cca304e01685 (patch)
tree2a7fbbbb5b49230ad93df79d2e2988128b932842 /src/network
parentd96b151859ca35dae1da8bc6e223e18322ddd455 (diff)
downloadopenttd-3707a11e5eafec7674c7418d0221cca304e01685.tar.xz
(svn r15571) -Fix: incorrect use of memset
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;
}
}