# HG changeset patch # User Mark Doliner # Date 1078213265 0 # Node ID 680aa8e0543ec2c55f6f8d2bc5f2458c2a4d6de1 # Parent 0a7d2cb22b3b342df604f4b4a6867e7a64e8f53b [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 diff -r 0a7d2cb22b3b -r 680aa8e0543e src/protocols/jabber/xdata.c --- 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);