aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-16 16:58:11 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-16 17:59:43 +0200
commit49706efe86fd80821a74977dbf6cc800e276c13d (patch)
tree97f7abaecf1307a14d336bf02a24fc31201f286b
parent9d8a7a10d0a4c13dab9b7c407621839035707aa3 (diff)
downloadxK-49706efe86fd80821a74977dbf6cc800e276c13d.tar.gz
xK-49706efe86fd80821a74977dbf6cc800e276c13d.tar.xz
xK-49706efe86fd80821a74977dbf6cc800e276c13d.zip
degesch: improve a function name
3_3_3_3_4 looks awful and it wasn't even precise.
-rw-r--r--degesch.c4
1 files 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