changeset 8385:680aa8e0543e

[gaim-migrate @ 9113] strcasecmp is declared in strings.h, but that was not #included I figured it was just as easy to change the function to this instead of adding the include committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 02 Mar 2004 07:41:05 +0000
parents 0a7d2cb22b3b
children 143d0b29ba82
files src/protocols/jabber/xdata.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/xdata.c	Tue Mar 02 05:20:48 2004 +0000
+++ b/src/protocols/jabber/xdata.c	Tue Mar 02 07:41:05 2004 +0000
@@ -273,8 +273,8 @@
 			if((valuenode = xmlnode_get_child(fn, "value")))
 				value = xmlnode_get_data(valuenode);
 
-			if(value && (!strcasecmp(value, "yes") ||
-						!strcasecmp(value, "true") || !strcasecmp(value, "1")))
+			if(value && (!g_strcasecmp(value, "yes") ||
+						!g_strcasecmp(value, "true") || !g_strcasecmp(value, "1")))
 				def = TRUE;
 
 			field = gaim_request_field_bool_new(var, label, def);