comparison src/protocols/jabber/xdata.c @ 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 bc850664b559
children f6a5348f7410
comparison
equal deleted inserted replaced
8384:0a7d2cb22b3b 8385:680aa8e0543e
271 gboolean def = FALSE; 271 gboolean def = FALSE;
272 272
273 if((valuenode = xmlnode_get_child(fn, "value"))) 273 if((valuenode = xmlnode_get_child(fn, "value")))
274 value = xmlnode_get_data(valuenode); 274 value = xmlnode_get_data(valuenode);
275 275
276 if(value && (!strcasecmp(value, "yes") || 276 if(value && (!g_strcasecmp(value, "yes") ||
277 !strcasecmp(value, "true") || !strcasecmp(value, "1"))) 277 !g_strcasecmp(value, "true") || !g_strcasecmp(value, "1")))
278 def = TRUE; 278 def = TRUE;
279 279
280 field = gaim_request_field_bool_new(var, label, def); 280 field = gaim_request_field_bool_new(var, label, def);
281 gaim_request_field_group_add_field(group, field); 281 gaim_request_field_group_add_field(group, field);
282 282