Преглед изворни кода

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
shennetsind пре 13 година
родитељ
комит
848a78d462
1 измењених фајлова са 2 додато и 3 уклоњено
  1. 2 3
      src/map/chrif.c

+ 2 - 3
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;
 	}