summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2014-06-10 12:06:19 -0400
committerDavid Hill <dhill@conformal.com>2014-06-10 12:06:19 -0400
commit0d4f13d20f304927277ad327c714481bc97de48f (patch)
tree0cea195e9fae20e3e10d48c5c829b0e894bdd492 /src/fe-common/irc/fe-netsplit.c
parent5ca9287182092530dc206fa1af13fbe19cc357d1 (diff)
downloadirssi-0d4f13d20f304927277ad327c714481bc97de48f.zip
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
Diffstat (limited to 'src/fe-common/irc/fe-netsplit.c')
-rw-r--r--src/fe-common/irc/fe-netsplit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index 788f6d00..3eb30796 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -73,7 +73,7 @@ static GSList *get_source_servers(const char *server, GSList **servers)
NETSPLIT_SERVER_REC *rec = tmp->data;
next = tmp->next;
- if (g_strcasecmp(rec->server, server) == 0) {
+ if (g_ascii_strcasecmp(rec->server, server) == 0) {
rec->prints = 0;
list = g_slist_append(list, rec);
*servers = g_slist_remove(*servers, rec);
@@ -91,7 +91,7 @@ static TEMP_SPLIT_CHAN_REC *find_split_chan(TEMP_SPLIT_REC *rec,
for (tmp = rec->channels; tmp != NULL; tmp = tmp->next) {
TEMP_SPLIT_CHAN_REC *chanrec = tmp->data;
- if (g_strcasecmp(chanrec->name, name) == 0)
+ if (g_ascii_strcasecmp(chanrec->name, name) == 0)
return chanrec;
}
@@ -292,7 +292,7 @@ static void sig_netsplit_servers(void)
static int split_equal(NETSPLIT_REC *n1, NETSPLIT_REC *n2)
{
- return g_strcasecmp(n1->nick, n2->nick);
+ return g_ascii_strcasecmp(n1->nick, n2->nick);
}
static void split_get(void *key, NETSPLIT_REC *rec, GSList **list)