summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 20:24:48 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-17 20:24:48 +0000
commit5f6a6a2557a90573a504b541a3234f0dc566bf6a (patch)
tree4e4522d1c1c7411a2c7672af9af7887333dcdc50 /src/map/chrif.c
parent724babffe10a6908d1510c941e5abfbe840fd271 (diff)
downloadhercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.gz
hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.bz2
hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.tar.xz
hercules-5f6a6a2557a90573a504b541a3234f0dc566bf6a.zip
* Merged do_sendrecv() and do_parse() into do_sockets()
* Fixed subnet check message displaying incorrect ip addresses * client_addr will now be properly set to 0 for server connections * Removed socket code that attempts to cope with code bugs at runtime * Removed outdated copyright and version number from startup logo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11503 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index ccf92a6cf..a29987a6d 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -1386,6 +1386,7 @@ int check_connect_char_server(int tid, unsigned int tick, int id, int data)
}
session[char_fd]->func_parse = chrif_parse;
+ session[char_fd]->client_addr = 0;
realloc_fifo(char_fd, FIFOSIZE_SERVERLINK, FIFOSIZE_SERVERLINK);
chrif_connect(char_fd);