git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4345 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-04-15 16:12:22 +00:00
parent d54a6fa7d8
commit 39d3868406
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1080,7 +1080,7 @@ void currentserver(int i)
s_strcpy(r, statenames[curpeer->state]);
break; // 5 == Connected (compare ../enet/include/enet/enet.h +165)
}
default: // IP PORT
default: // was HOST:PORT & IP - but as speed-up just IP & PORT
{
uchar *ip = (uchar *)&curpeer->address.host;
s_sprintf(r)("%d.%d.%d.%d %d", ip[0], ip[1], ip[2], ip[3], curpeer->address.port);