pidgin/plugins/xmppconsole.c

branch
string-comparison-r2
changeset 38259
c593fc9f5438
parent 38258
9a6551eba09c
child 38358
30ba44276e74
equal deleted inserted replaced
38258:9a6551eba09c 38259:c593fc9f5438
71 node_name); 71 node_name);
72 72
73 if (node->xmlns) { 73 if (node->xmlns) {
74 if ((!node->parent || 74 if ((!node->parent ||
75 !node->parent->xmlns || 75 !node->parent->xmlns ||
76 strcmp(node->xmlns, node->parent->xmlns)) && 76 !purple_strequal(node->xmlns, node->parent->xmlns)) &&
77 strcmp(node->xmlns, "jabber:client")) 77 !purple_strequal(node->xmlns, "jabber:client"))
78 { 78 {
79 char *xmlns = g_markup_escape_text(node->xmlns, -1); 79 char *xmlns = g_markup_escape_text(node->xmlns, -1);
80 g_string_append_printf(text, 80 g_string_append_printf(text,
81 " <font color='" ATTR_NAME_COLOR "'><b>xmlns</b></font>=" 81 " <font color='" ATTR_NAME_COLOR "'><b>xmlns</b></font>="
82 "'<font color='" XMLNS_COLOR "'><b>%s</b></font>'", 82 "'<font color='" XMLNS_COLOR "'><b>%s</b></font>'",

mercurial