diff libpurple/account.c @ 17095:7ade887fd3f6

Replace strcasecmp() calls with glib equivalents.
author Richard Laager <rlaager@wiktel.com>
date Mon, 14 May 2007 23:35:50 +0000
parents f9c369b4291c
children 84638e3af1bc f2d8658b3a86
line wrap: on
line diff
--- a/libpurple/account.c	Mon May 14 23:35:28 2007 +0000
+++ b/libpurple/account.c	Mon May 14 23:35:50 2007 +0000
@@ -548,9 +548,9 @@
 	data = xmlnode_get_attrib(node, "active");
 	if (data == NULL)
 		return;
-	if (strcasecmp(data, "true") == 0)
+	if (g_ascii_strcasecmp(data, "true") == 0)
 		active = TRUE;
-	else if (strcasecmp(data, "false") == 0)
+	else if (g_ascii_strcasecmp(data, "false") == 0)
 		active = FALSE;
 	else
 		return;