diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-09 12:17:55 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-09 12:17:55 +0000 |
commit | 72930e0be3a8841e8149b246542832128310c350 (patch) | |
tree | c4cb68d6557440d1144126dac6f8bacbfb72a191 /src/irc/core/irc-servers.c | |
parent | 7df46597e17ff7af4a660ab47673fe2cabc91db6 (diff) | |
download | irssi-72930e0be3a8841e8149b246542832128310c350.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@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-servers.c')
-rw-r--r-- | src/irc/core/irc-servers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-servers.c b/src/irc/core/irc-servers.c index 94bb51ec..43b47855 100644 --- a/src/irc/core/irc-servers.c +++ b/src/irc/core/irc-servers.c @@ -257,7 +257,7 @@ void irc_server_purge_output(IRC_SERVER_REC *server, const char *target) redirect = tmp->next->data; if ((target == NULL || command_has_target(cmd, target)) && - g_strncasecmp(cmd, "PONG ", 5) != 0) { + g_ascii_strncasecmp(cmd, "PONG ", 5) != 0) { /* remove the redirection */ link = tmp->next; server->cmdqueue = |