degesch: improve a function name

3_3_3_3_4 looks awful and it wasn't even precise.
This commit is contained in:
Přemysl Eric Janouch 2020-10-16 16:58:11 +02:00
parent 9d8a7a10d0
commit 49706efe86
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 2 deletions

View File

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