summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_content.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-04-02 23:22:59 +0000
committerglx <glx@openttd.org>2009-04-02 23:22:59 +0000
commit521bf687eef36e7c06d09ee610134eb21fed69a9 (patch)
tree259d66dea30dd7eb129263a1dbf93ba07fa59839 /src/network/core/tcp_content.h
parentbeef5da970ba9571aa5673b53cad5edb8b065a2b (diff)
downloadopenttd-521bf687eef36e7c06d09ee610134eb21fed69a9.tar.xz
(svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning.
Diffstat (limited to 'src/network/core/tcp_content.h')
-rw-r--r--src/network/core/tcp_content.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_content.h b/src/network/core/tcp_content.h
index 8313c733b..50365c109 100644
--- a/src/network/core/tcp_content.h
+++ b/src/network/core/tcp_content.h
@@ -101,7 +101,7 @@ struct ContentInfo {
/** Base socket handler for all Content TCP sockets */
class NetworkContentSocketHandler : public NetworkTCPSocketHandler {
protected:
- struct NetworkAddress client_addr; ///< The address we're connected to.
+ NetworkAddress client_addr; ///< The address we're connected to.
virtual void Close();
/**