diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-26 18:49:46 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-26 18:49:46 +0000 |
commit | 66b2cadb9bcb6ad125cb18cdbea903a63ad0d925 (patch) | |
tree | d5fbc354d0db815d28c71e31f8e48b7e272d3ac4 /src/common/socket.c | |
parent | 7924f0a9251dba9dbd7acae7d6bff3cb8610ab9b (diff) | |
download | hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.gz hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.bz2 hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.tar.xz hercules-66b2cadb9bcb6ad125cb18cdbea903a63ad0d925.zip |
- Added a wrapper to delete_timer so it prints out from where the invocation was done.
- Fixed some unsigned warnings.
- Fixed Splash attacks consuming 2 ammo on each attack.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9718 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.c')
-rw-r--r-- | src/common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c index beb658144..e8c4f68ab 100644 --- a/src/common/socket.c +++ b/src/common/socket.c @@ -1076,7 +1076,7 @@ int RFIFOSKIP(int fd,int len) s = session[fd]; - if ( s->rdata_size - s->rdata_pos - len < 0 ) { + if ( s->rdata_size < s->rdata_pos + len ) { //fprintf(stderr,"too many skip\n"); //exit(1); //better than a COMPLETE program abort // TEST! :) |