diff options
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 */ |