From 49706efe86fd80821a74977dbf6cc800e276c13d Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Fri, 16 Oct 2020 16:58:11 +0200 Subject: degesch: improve a function name 3_3_3_3_4 looks awful and it wasn't even precise. --- degesch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/degesch.c b/degesch.c index 10f96af..66dd118 100644 --- a/degesch.c +++ b/degesch.c @@ -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 -- cgit v1.2.3-70-g09d2