diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-09 12:01:16 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-09 12:01:16 +0000 |
commit | 7df46597e17ff7af4a660ab47673fe2cabc91db6 (patch) | |
tree | 2e2abd9c8e4de4e7311c0506119142f62a78a2f1 /src/fe-common/irc/dcc/fe-dcc-chat.c | |
parent | 496d82ac4843b3dcf8fe64c216470f41f91120d9 (diff) | |
download | irssi-7df46597e17ff7af4a660ab47673fe2cabc91db6.zip |
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4738 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/dcc/fe-dcc-chat.c')
-rw-r--r-- | src/fe-common/irc/dcc/fe-dcc-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/dcc/fe-dcc-chat.c b/src/fe-common/irc/dcc/fe-dcc-chat.c index 7f4d3554..5621580f 100644 --- a/src/fe-common/irc/dcc/fe-dcc-chat.c +++ b/src/fe-common/irc/dcc/fe-dcc-chat.c @@ -212,7 +212,7 @@ static void dcc_error_close_not_found(const char *type, const char *nick, { g_return_if_fail(type != NULL); g_return_if_fail(nick != NULL); - if (g_strcasecmp(type, "CHAT") != 0) return; + if (g_ascii_strcasecmp(type, "CHAT") != 0) return; printformat(NULL, NULL, MSGLEVEL_DCC, IRCTXT_DCC_CHAT_NOT_FOUND, nick); |