summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-09 17:19:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-09 17:19:43 +0000
commit4bb106036bb644e33fe41340b3ae8f7b603c1210 (patch)
treec8342fee4adbdb925ef60607882273441ef04200 /src/map/clif.c
parent4d1b09949d8dfb0e111a2070486c79bb5ffbf971 (diff)
downloadhercules-4bb106036bb644e33fe41340b3ae8f7b603c1210.tar.gz
hercules-4bb106036bb644e33fe41340b3ae8f7b603c1210.tar.bz2
hercules-4bb106036bb644e33fe41340b3ae8f7b603c1210.tar.xz
hercules-4bb106036bb644e33fe41340b3ae8f7b603c1210.zip
small fix to the server's packet parsing code to display server IPs correctly.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11876 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index e1f7b057b..8bf122a5f 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11529,8 +11529,7 @@ int clif_parse(int fd)
map_quit(sd);
}
} else {
- uint32 ip = session[fd]->client_addr;
- ShowInfo("Closed connection from '"CL_WHITE"%d.%d.%d.%d"CL_RESET"'.\n", CONVIP(ip));
+ ShowInfo("Closed connection from '"CL_WHITE"%s"CL_RESET"'.\n", ip2str(session[fd]->client_addr, NULL));
}
do_close(fd);
return 0;