Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 27936:703b20fa6c5c
g_strncasecmp is deprecated. I thought I removed these already. Anyway, I
think these should be good as ASCII.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Tue, 18 Aug 2009 04:34:30 +0000 |
parents | 5f49b2dd8f9b |
children | 901476dc70b9 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Tue Aug 18 03:34:24 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Tue Aug 18 04:34:30 2009 +0000 @@ -4271,7 +4271,7 @@ } } - msn = !g_strncasecmp(who, "msn/", 4); + msn = !g_ascii_strncasecmp(who, "msn/", 4); if( strncmp(who, "+", 1) == 0 ) { /* we have an sms to be sent */ @@ -4395,7 +4395,7 @@ { YahooData *yd = gc->proto_data; struct yahoo_p2p_data *p2p_data; - gboolean msn = !g_strncasecmp(who, "msn/", 4); + gboolean msn = !g_ascii_strncasecmp(who, "msn/", 4); struct yahoo_packet *pkt = NULL; /* Don't do anything if sms is being typed */ @@ -4668,7 +4668,7 @@ return; f = yahoo_friend_find(gc, bname); - msn = !g_strncasecmp(bname, "msn/", 4); + msn = !g_ascii_strncasecmp(bname, "msn/", 4); g = purple_buddy_get_group(buddy); if (g)