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/char_sql/char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/char_sql') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index e1ba1455b..e97535454 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2175,9 +2175,9 @@ int parse_tologin(int fd) { case 0x2735: { unsigned char ip_str[4]; - ShowInfo("IP Sync in progress...\n"); if (char_server_dns && resolve_hostbyname(char_server_dns, ip_str, NULL)) { + ShowInfo("IP Sync [%s] in progress...\n",char_server_dns); WFIFOW(fd,0) = 0x2736; WFIFOB(fd,2) = ip_str[0]; WFIFOB(fd,3) = ip_str[1]; @@ -2990,7 +2990,7 @@ int parse_frommap(int fd) { case 0x2736: for(i = 0; i < MAX_MAP_SERVERS; i++){ if(server_fd[i] == fd){ - ShowInfo("IP Sync (Server #%d) successful.\n",i); + ShowInfo("IP Sync (Server #%d %d.%d.%d.%d) successful.\n",i,(int)RFIFOB(fd,2),(int)RFIFOB(fd,3),(int)RFIFOB(fd,4),(int)RFIFOB(fd,5)); server[i].ip = RFIFOL(fd, 2); } } -- cgit v1.2.3-70-g09d2