summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 03:05:43 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-03 03:05:43 +0000
commitf68bd7c915dc631d452b6ea2ac21cdf75bc26fe4 (patch)
treeff8a979363dccf37f3bfb66be4f24cf2d89027e4 /src/common/socket.c
parent350416fff4bb9e8bc50b5f8205d04f772e848a92 (diff)
downloadhercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.gz
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.bz2
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.tar.xz
hercules-f68bd7c915dc631d452b6ea2ac21cdf75bc26fe4.zip
- Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements.
- Re-applied change r9593 that got accidentally reverted by r9595. - Added the official behavior of monsters regaining full hp when they morph. - Added support for text/comments at the end of monster spawn lines (<tab> required) - Silenced the debug message in socket.c that's been freaking people out. - Modified the useless error message in atcommand_effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9608 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 4e25abbb1..ca532f185 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -183,7 +183,7 @@ static int recv_to_fifo(int fd)
FD_CLR(fd, &readfds); //Remove the socket so the select() won't hang on it.
}
if (s_errno != S_EWOULDBLOCK) {
- ShowDebug("recv_to_fifo: error %d, ending connection #%d\n", s_errno, fd);
+ //ShowDebug("recv_to_fifo: error %d, ending connection #%d\n", s_errno, fd);
set_eof(fd);
}
return 0;
@@ -219,7 +219,7 @@ static int send_from_fifo(int fd)
FD_CLR(fd, &readfds); //Remove the socket so the select() won't hang on it.
}
if (s_errno != S_EWOULDBLOCK) {
- ShowDebug("send_from_fifo: error %d, ending connection #%d\n", s_errno, fd);
+ //ShowDebug("send_from_fifo: error %d, ending connection #%d\n", s_errno, fd);
session[fd]->wdata_size = 0; //Clear the send queue as we can't send anymore. [Skotlex]
set_eof(fd);
}