From 946dc4916e888f8d5bf8a5c701d85273fba06000 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Mon, 25 Dec 2006 06:59:25 +0000 Subject: - Applied part 1 of TheUltraMage's socket cleanup. "Basically what I did was perform simple one-liner substitutions for ugly repetitive blocks of code. The most apparent are the send/recv code and the other basic socket calls." - flush_fifo is non-blocking now. I guess best effort is good enough... - Copied header files from vcproj-7.1 files to vcproj-8 files. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9570 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/socket.h') diff --git a/src/common/socket.h b/src/common/socket.h index fa867a45f..6b1032eb3 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -161,7 +161,7 @@ void do_close(int fd); void socket_init(void); void socket_final(void); -extern void flush_fifo(int fd, int lock); +extern void flush_fifo(int fd); extern void flush_fifos(void); extern void set_nonblocking(int fd, int yes); -- cgit v1.2.3-60-g2f50