From faa7a02a489886461cd039cc306f1fc55d81daa5 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Tue, 9 Jan 2007 17:31:13 +0000 Subject: - Changes to script buildin functions: * functions checking if a player is attached as soon as possible. * functions that required a player attached and would crash if none was there terminate the script now. (others keep the current behaviour to maintain full backward compatibility) * removed the unused flag argument in guildskill. * bonus,bonus2,bonus3,bonus4 use the same function now (remains the same script-wise) * added an optional parameter to setcart,setfalcon,setriding so it's possible to remove the cart/falcon/mount or select a specific cart * other cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9636 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/socket.c b/src/common/socket.c index 6589978bb..c03240739 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -282,7 +282,7 @@ static int connect_client(int listen_fd) ShowError("accept failed (code %i)!\n", s_errno); return -1; } - + if(fd_max<=fd) fd_max=fd+1; setsocketopts(fd); -- cgit v1.2.3-70-g09d2