From 8728207191dc544aa473c322fbb779a032aa6d62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Sat, 3 Apr 2010 20:09:37 +0000 Subject: deprecated glib strup/down fixes from exg. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5138 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/dcc/fe-dcc-chat.c | 2 +- src/fe-common/irc/fe-irc-commands.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fe-common/irc') diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c index f8c2d8c3..c47ad4c4 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat.c @@ -330,7 +330,7 @@ static void cmd_ctcp(const char *data, SERVER_REC *server) printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, IRCTXT_DCC_CHAT_NOT_FOUND, target+1); } else { - g_strup(ctcpcmd); + ascii_strup(ctcpcmd); signal_emit("message dcc own_ctcp", 3, dcc, ctcpcmd, ctcpdata); } diff --git a/src/fe-common/irc/fe-irc-commands.c b/src/fe-common/irc/fe-irc-commands.c index 79b28746..f2b00590 100644 --- a/src/fe-common/irc/fe-irc-commands.c +++ b/src/fe-common/irc/fe-irc-commands.c @@ -131,7 +131,7 @@ static void cmd_ctcp(const char *data, IRC_SERVER_REC *server, return; } - g_strup(ctcpcmd); + ascii_strup(ctcpcmd); signal_emit("message irc own_ctcp", 4, server, ctcpcmd, ctcpdata, target); -- cgit v1.2.3