diff options
author | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-10-22 06:39:32 +0000 |
commit | 2cc2154ad26b96b032df2f4fca0ce1634e6330b2 (patch) | |
tree | 646e010d91defd66326958b9e15c3eb36077760c /network_server.h | |
parent | 01638700067b9720c187598ad6b4bf786e0e63c1 (diff) | |
download | openttd-2cc2154ad26b96b032df2f4fca0ce1634e6330b2.tar.xz |
(svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
Diffstat (limited to 'network_server.h')
-rw-r--r-- | network_server.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/network_server.h b/network_server.h index 2c14b8c4e..8d09c4c36 100644 --- a/network_server.h +++ b/network_server.h @@ -20,7 +20,10 @@ void NetworkServer_Tick(bool send_frame); void NetworkServerMonthlyLoop(void); void NetworkServerYearlyLoop(void); -static inline const char* GetPlayerIP(const NetworkClientInfo *ci) {return inet_ntoa(*(struct in_addr *)&ci->client_ip);} +static inline const char* GetPlayerIP(const NetworkClientInfo* ci) +{ + return inet_ntoa(*(const struct in_addr*)&ci->client_ip); +} #endif /* ENABLE_NETWORK */ |