summaryrefslogtreecommitdiff
path: root/src/common/socket.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 06:59:25 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-25 06:59:25 +0000
commit946dc4916e888f8d5bf8a5c701d85273fba06000 (patch)
tree3c9680be8cbdd69f8c9a9299ed24623928c5cbd2 /src/common/socket.h
parent3f599dbc85b01da7552abf61bf6dfd6776bc3a8b (diff)
downloadhercules-946dc4916e888f8d5bf8a5c701d85273fba06000.tar.gz
hercules-946dc4916e888f8d5bf8a5c701d85273fba06000.tar.bz2
hercules-946dc4916e888f8d5bf8a5c701d85273fba06000.tar.xz
hercules-946dc4916e888f8d5bf8a5c701d85273fba06000.zip
- 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
Diffstat (limited to 'src/common/socket.h')
-rw-r--r--src/common/socket.h2
1 files changed, 1 insertions, 1 deletions
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);