changeset 17091:4453f59c2035

strcasecmp is post-C89, so use the glib equivalent
author Ethan Blanton <elb@pidgin.im>
date Mon, 14 May 2007 23:11:30 +0000
parents 8d7e2cd32a9a
children 79f6b097a0a6 3752ac0e610c
files libpurple/protocols/irc/parse.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c	Mon May 14 19:38:06 2007 +0000
+++ b/libpurple/protocols/irc/parse.c	Mon May 14 23:11:30 2007 +0000
@@ -227,7 +227,7 @@
 	enclist = purple_account_get_string(irc->account, "encoding", IRC_DEFAULT_CHARSET);
 	encodings = g_strsplit(enclist, ",", 2);
 
-	if (encodings[0] == NULL || !strcasecmp("UTF-8", encodings[0])) {
+	if (encodings[0] == NULL || !g_ascii_strcasecmp("UTF-8", encodings[0])) {
 		g_strfreev(encodings);
 		return g_strdup(string);
 	}