From af3b0b2b932ce5022788819ad7b661b5dca4467a Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Tue, 4 Mar 2008 10:42:23 +0000 Subject: Replace g_strdup+g_str{up,down} with g_ascii_str{up,down}. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4721 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/dcc/dcc-chat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/irc/dcc') diff --git a/src/irc/dcc/dcc-chat.c b/src/irc/dcc/dcc-chat.c index 2c1c6844..5569cd96 100644 --- a/src/irc/dcc/dcc-chat.c +++ b/src/irc/dcc/dcc-chat.c @@ -720,8 +720,7 @@ static void dcc_chat_msg(CHAT_DCC_REC *dcc, const char *msg) ptr = strchr(cmd, ' '); if (ptr != NULL) *ptr++ = '\0'; else ptr = ""; - cmd = g_strdup(cmd); - g_strup(cmd); + cmd = g_ascii_strup(cmd, -1); g_strdown(event+9); if (!signal_emit(event, 2, dcc, ptr)) { -- cgit v1.2.3