changeset 2548 | 97ada3bd2702 |
parent 2538 | 81e192bfcf10 |
child 3623 | 2dd90d28fe20 |
--- a/network_server.h Fri Oct 21 12:24:55 2005 +0000 +++ b/network_server.h Sat Oct 22 06:39:32 2005 +0000 @@ -20,7 +20,10 @@ 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 */