Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.

This commit is contained in:
David Hill 2014-06-10 12:06:19 -04:00
commit 0d4f13d20f
63 changed files with 168 additions and 160 deletions

View file

@ -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! */