degesch: improve a function name
3_3_3_3_4 looks awful and it wasn't even precise.
This commit is contained in:
		
							parent
							
								
									9d8a7a10d0
								
							
						
					
					
						commit
						49706efe86
					
				| @ -7812,7 +7812,7 @@ irc_process_numeric (struct server *s, | ||||
| } | ||||
| 
 | ||||
| static void | ||||
| irc_fix_cut_off_utf8 (char **line) | ||||
| irc_sanitize_cut_off_utf8 (char **line) | ||||
| { | ||||
| 	// A variation on utf8_validate(), we need to detect the -2 return
 | ||||
| 	const char *p = *line, *end = strchr (p, 0); | ||||
| @ -7833,7 +7833,7 @@ static void | ||||
| irc_process_message (const struct irc_message *msg, struct server *s) | ||||
| { | ||||
| 	if (msg->params.len) | ||||
| 		irc_fix_cut_off_utf8 (&msg->params.vector[msg->params.len - 1]); | ||||
| 		irc_sanitize_cut_off_utf8 (&msg->params.vector[msg->params.len - 1]); | ||||
| 
 | ||||
| 	// TODO: make use of IRCv3.2 server-time (with fallback to unixtime_msec())
 | ||||
| 	//   -> change all calls to log_{server,nick,outcoming,ctcp}*() to take
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user