From 3a4984a967675b1fd10c84730994bf08766c639d Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 17 Dec 2007 13:23:34 +0000 Subject: * Added flag.server to indicate interserver sockets - replaces the previous way (setting 'client_addr' to 0) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11930 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/chrif.c') diff --git a/src/map/chrif.c b/src/map/chrif.c index a041d9957..11ce53ae7 100644 --- a/src/map/chrif.c +++ b/src/map/chrif.c @@ -1245,7 +1245,7 @@ int chrif_parse(int fd) return 0; } - if (session[fd]->eof) + if (session[fd]->flag.eof) { if (chrif_connected == 1) chrif_disconnect(fd); @@ -1393,7 +1393,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; + session[char_fd]->flag.server = 1; realloc_fifo(char_fd, FIFOSIZE_SERVERLINK, FIFOSIZE_SERVERLINK); chrif_connect(char_fd); -- cgit v1.2.3-60-g2f50