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
This commit is contained in:
Emanuele Giaquinta 2008-03-04 10:42:23 +00:00 committed by exg
commit af3b0b2b93
4 changed files with 4 additions and 8 deletions

View file

@ -58,8 +58,7 @@ void ctcp_register(const char *name)
rec = ctcp_cmd_find(name);
if (rec == NULL) {
rec = g_new0(CTCP_CMD_REC, 1);
rec->name = g_strdup(name);
g_strup(rec->name);
rec->name = g_ascii_strup(name, -1);
ctcp_cmds = g_slist_append(ctcp_cmds, rec);
}