summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-15 02:52:35 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-01-15 02:52:35 +0000
commit1d02588929b3d2e8a28de5f57a4cb748f157a4ed (patch)
tree32a2fbe2aebdd58e87c39a9f56f0e1c0070f7ca0 /src
parent3b873e092f61c8d6224f16e09b50d52060a5da4f (diff)
downloadhercules-1d02588929b3d2e8a28de5f57a4cb748f157a4ed.tar.gz
hercules-1d02588929b3d2e8a28de5f57a4cb748f157a4ed.tar.bz2
hercules-1d02588929b3d2e8a28de5f57a4cb748f157a4ed.tar.xz
hercules-1d02588929b3d2e8a28de5f57a4cb748f157a4ed.zip
Fixed a bug with the output message of chrif_authok
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15461 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/chrif.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index 014d5f5df..55a287690 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -591,9 +591,8 @@ void chrif_authok(int fd)
TBL_PC* sd;
//Check if both servers agree on the struct's size
- if( RFIFOW(fd,2) - 25 != sizeof(struct mmo_charstatus) )
- {
- ShowError("chrif_authok: Data size mismatch! %d != %d\n", RFIFOW(fd,2) - 24, sizeof(struct mmo_charstatus));
+ if( RFIFOW(fd,2) - 25 != sizeof(struct mmo_charstatus) ) {
+ ShowError("chrif_authok: Data size mismatch! %d != %d\n", RFIFOW(fd,2) - 25, sizeof(struct mmo_charstatus));
return;
}