diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/chrif.c | 5 |
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; } |