diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-04 10:42:23 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-04 10:42:23 +0000 |
commit | af3b0b2b932ce5022788819ad7b661b5dca4467a (patch) | |
tree | 82d7b5bf408198ecc410ad37a3a3ff39b123f1f5 /src/irc/core | |
parent | 40f7904a1a8330f90aa30a8b540ee625e9f38d92 (diff) | |
download | irssi-af3b0b2b932ce5022788819ad7b661b5dca4467a.zip |
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
Diffstat (limited to 'src/irc/core')
-rw-r--r-- | src/irc/core/ctcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/irc/core/ctcp.c b/src/irc/core/ctcp.c index 7d74495c..8ae3be43 100644 --- a/src/irc/core/ctcp.c +++ b/src/irc/core/ctcp.c @@ -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); } |