Fixed a bug with the output message of chrif_authok

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15461 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-01-15 02:52:35 +00:00
parent b21eb7747f
commit 848a78d462

View File

@ -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;
}