summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-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