From b219bc963c87f335cd9c0edd9114982b8e02f4aa Mon Sep 17 00:00:00 2001 From: Lance Date: Thu, 22 Jun 2006 08:50:36 +0000 Subject: * [Fixed]: - Compilation warnings and errors. [Improved]: - Changed and moved IP sync status messages to elaborate more. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7290 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 2 +- src/map/map.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/chrif.c b/src/map/chrif.c index 19002eab4..5b7dee2de 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1414,8 +1414,8 @@ int chrif_disconnect(int fd) { void chrif_update_ip(int fd){ char ip[4]; - ShowInfo("IP Sync in progress...\n"); if (map_server_dns && resolve_hostbyname(map_server_dns, ip, NULL)) { + ShowInfo("IP Sync [%s] in progress...\n",map_server_dns); WFIFOW(fd, 0) = 0x2736; WFIFOB(fd, 2) = ip[0]; WFIFOB(fd, 3) = ip[1]; diff --git a/src/map/map.c b/src/map/map.c index 34498bd89..0aa48b914 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -6,7 +6,10 @@ #include #include #include + +#ifndef _WIN32 #include +#endif #include "../common/core.h" #include "../common/timer.h" -- cgit v1.2.3-70-g09d2