diff options
author | David Hill <dhill@conformal.com> | 2014-06-10 12:06:19 -0400 |
---|---|---|
committer | David Hill <dhill@conformal.com> | 2014-06-10 12:06:19 -0400 |
commit | 0d4f13d20f304927277ad327c714481bc97de48f (patch) | |
tree | 0cea195e9fae20e3e10d48c5c829b0e894bdd492 /src/irc/notifylist/notifylist.c | |
parent | 5ca9287182092530dc206fa1af13fbe19cc357d1 (diff) | |
download | irssi-0d4f13d20f304927277ad327c714481bc97de48f.zip |
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
Diffstat (limited to 'src/irc/notifylist/notifylist.c')
-rw-r--r-- | src/irc/notifylist/notifylist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/notifylist/notifylist.c b/src/irc/notifylist/notifylist.c index 467fa30a..b0b7ee1c 100644 --- a/src/irc/notifylist/notifylist.c +++ b/src/irc/notifylist/notifylist.c @@ -94,7 +94,7 @@ int notifylist_ircnets_match(NOTIFYLIST_REC *rec, const char *ircnet) if (strcmp(ircnet, "*") == 0) return TRUE; for (tmp = rec->ircnets; *tmp != NULL; tmp++) { - if (g_strcasecmp(*tmp, ircnet) == 0) + if (g_ascii_strcasecmp(*tmp, ircnet) == 0) return TRUE; } @@ -113,7 +113,7 @@ NOTIFYLIST_REC *notifylist_find(const char *mask, const char *ircnet) NOTIFYLIST_REC *rec = tmp->data; /* check mask */ - if (g_strncasecmp(rec->mask, mask, len) != 0 || + if (g_ascii_strncasecmp(rec->mask, mask, len) != 0 || (rec->mask[len] != '\0' && rec->mask[len] != '!')) continue; /* check ircnet */ |