mirror of
https://github.com/irssi/irssi.git
synced 2026-08-21 01:22:26 +02:00
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
This commit is contained in:
parent
5ca9287182
commit
0d4f13d20f
63 changed files with 168 additions and 160 deletions
|
|
@ -47,11 +47,12 @@ int dcc_queue_old(const char *nick, const char *servertag)
|
|||
if (rec == NULL)
|
||||
continue;
|
||||
|
||||
if (*nick != '\0' && g_strcasecmp(nick, rec->nick) != 0)
|
||||
if (*nick != '\0' &&
|
||||
g_ascii_strcasecmp(nick, rec->nick) != 0)
|
||||
continue;
|
||||
|
||||
if (*servertag != '\0' &&
|
||||
g_strcasecmp(servertag, rec->servertag) != 0)
|
||||
g_ascii_strcasecmp(servertag, rec->servertag) != 0)
|
||||
continue;
|
||||
|
||||
/* found a queue matching nick/server! */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue