From 6125b6bc5204a618e6fc8976600332a423bd0fc0 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 23 Nov 2006 15:33:51 +0000 Subject: - Made WFIFOHEAD() check for available buffer size remaining on the connection, and when there's not enough space, it will increase it. - Added define TURBO to the Makefile. It enables MouseJstr's socket access optimization which should speed up the code when accessing the write/read buffers repeatedly within a function. - Fixed the functions where the RFIFOHEAD/WFIFOHEAD functions were used incorrectly (prevents TURBO enabled compilations from finishing) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9297 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login/login.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/login.c') diff --git a/src/login/login.c b/src/login/login.c index 038cff89b..34f2f401a 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -1472,6 +1472,7 @@ int parse_fromchar(int fd) { unsigned int k; time_t connect_until_time = 0; char email[40] = ""; + WFIFOHEAD(fd,51); auth_fifo[i].delflag = 1; login_log("Char-server '%s': authentification of the account %d accepted (ip: %s)." RETCODE, server[id].name, acc, ip); -- cgit v1.2.3-70-g09d2