Pārlūkot izejas kodu

Trimmed trailing whitespaces in /src/login

Lemongrass3110 8 gadi atpakaļ
vecāks
revīzija
aad72b5724
4 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 1 1
      src/login/account.c
  2. 1 1
      src/login/ipban.c
  3. 2 2
      src/login/loginchrif.c
  4. 3 3
      src/login/loginclif.c

+ 1 - 1
src/login/account.c

@@ -605,7 +605,7 @@ static bool mmo_auth_tosql(AccountDB_SQL* db, const struct mmo_account* acc, boo
 	}
 	else
 	{// update account table
-		if( SQL_SUCCESS != SqlStmt_Prepare(stmt, 
+		if( SQL_SUCCESS != SqlStmt_Prepare(stmt,
 #ifdef VIP_ENABLE
 			"UPDATE `%s` SET `userid`=?,`user_pass`=?,`sex`=?,`email`=?,`group_id`=?,`state`=?,`unban_time`=?,`expiration_time`=?,`logincount`=?,`lastlogin`=?,`last_ip`=?,`birthdate`=?,`character_slots`=?,`pincode`=?, `pincode_change`=?, `vip_time`=?, `old_group`=? WHERE `account_id` = '%d'",
 #else

+ 1 - 1
src/login/ipban.c

@@ -217,7 +217,7 @@ void ipban_init(void) {
 		exit(EXIT_FAILURE);
 	}
         ShowInfo("Ipban conection made\n");
-        
+
 	if( codepage[0] != '\0' && SQL_ERROR == Sql_SetEncoding(sql_handle, codepage) )
 		Sql_ShowDebug(sql_handle);
 

+ 2 - 2
src/login/loginchrif.c

@@ -152,7 +152,7 @@ int logchrif_parse_ackusercount(int fd, int id){
 /**
  * Transmit account data to char_server
  * S 2717 aid.W email.40B exp_time.L group_id.B char_slot.B birthdate.11B pincode.5B pincode_change.L
- *  isvip.1B char_vip.1B max_billing.1B (tot 75)  
+ *  isvip.1B char_vip.1B max_billing.1B (tot 75)
  * @return -1 : account not found, 1:sucess
  */
 int logchrif_send_accdata(int fd, uint32 aid) {
@@ -665,7 +665,7 @@ int logchrif_parse_reqvipdata(int fd) {
 		int32 timediff = RFIFOL(fd,7);
 		int mapfd = RFIFOL(fd,11);
 		RFIFOSKIP(fd,15);
-		
+
 		if( accounts->load_num(accounts, &acc, aid ) ) {
 			time_t now = time(NULL);
 			time_t vip_time = acc.vip_time;

+ 3 - 3
src/login/loginclif.c

@@ -215,7 +215,7 @@ static void logclif_auth_failed(struct login_session_data* sd, int result) {
 		}
 		WFIFOSET(fd,26);
 	}
-//#else	
+//#else
 	else {
 		WFIFOHEAD(fd,23);
 		WFIFOW(fd,0) = 0x6a;
@@ -230,7 +230,7 @@ static void logclif_auth_failed(struct login_session_data* sd, int result) {
 		}
 		WFIFOSET(fd,23);
 	}
-//#endif	
+//#endif
 }
 
 /**
@@ -524,7 +524,7 @@ int logclif_parse(int fd) {
 		case 0x01fa: // S 01fa <version>.L <username>.24B <password hash>.16B <clienttype>.B <?>.B(index of the connection in the clientinfo file (+10 if the command-line contains "pc"))
 		case 0x027c: // S 027c <version>.L <username>.24B <password hash>.16B <clienttype>.B <?>.13B(junk)
 		case 0x0825: // S 0825 <packetsize>.W <version>.L <clienttype>.B <userid>.24B <password>.27B <mac>.17B <ip>.15B <token>.(packetsize - 0x5C)B
-			next = logclif_parse_reqauth(fd,  sd, command, ip); 
+			next = logclif_parse_reqauth(fd,  sd, command, ip);
 			break;
 		// Sending request of the coding key
 		case 0x01db: next = logclif_parse_reqkey(fd, sd); break;