Update of /cvsroot/netrek/server/Vanilla/ntserv In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9934/ntserv Modified Files: main.c Log Message: fix compile error Index: main.c =================================================================== RCS file: /cvsroot/netrek/server/Vanilla/ntserv/main.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- main.c 10 Apr 2006 04:24:51 -0000 1.4 +++ main.c 10 Apr 2006 10:38:22 -0000 1.5 @@ -267,7 +267,7 @@ /* store client IP address from socket peer obtained by checkSocket() */ if (remoteaddr != -1) - strcpy(me->p_ip, inet_ntoa(remoteaddr)); + strcpy(me->p_ip, inet_ntoa(*(struct in_addr *)&remoteaddr)); #ifdef REVERSED_HOSTNAMES if (strlen(host) >= NAME_LEN) {