# HG changeset patch # User Mark Doliner # Date 1189482199 0 # Node ID bc01571209245b8916a4dd9d2e266c20dd6fd814 # Parent 30e4912e4a27660fc74eb54b857457b747a254fe# Parent 64e0c7fa92c9cce33b62e838b54ba70716d183e2 merge of '629d4e0dcf9bd35671fc00e61b6f09e381345e7c' and 'c34261dcaedd89393d0245841d86c9394790e09c' diff -r 30e4912e4a27 -r bc0157120924 libpurple/protocols/jabber/caps.c --- a/libpurple/protocols/jabber/caps.c Tue Sep 11 01:57:29 2007 +0000 +++ b/libpurple/protocols/jabber/caps.c Tue Sep 11 03:43:19 2007 +0000 @@ -191,17 +191,18 @@ xmlnode *root = user_data; xmlnode *ext = xmlnode_new_child(root,"ext"); GList *iter; - + xmlnode_set_attrib(ext,"identifier",extname); - + for(iter = props->identities; iter; iter = g_list_next(iter)) { JabberCapsIdentity *id = iter->data; xmlnode *identity = xmlnode_new_child(ext, "identity"); xmlnode_set_attrib(identity, "category", id->category); xmlnode_set_attrib(identity, "type", id->type); - xmlnode_set_attrib(identity, "name", id->name); + if (id->name) + xmlnode_set_attrib(identity, "name", id->name); } - + for(iter = props->features; iter; iter = g_list_next(iter)) { const char *feat = iter->data; xmlnode *feature = xmlnode_new_child(ext, "feature"); diff -r 30e4912e4a27 -r bc0157120924 libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Tue Sep 11 01:57:29 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Tue Sep 11 03:43:19 2007 +0000 @@ -2933,7 +2933,7 @@ /** Based on MSN's plugin info comments. */ -PurplePluginInfo info = { +static PurplePluginInfo info = { PURPLE_PLUGIN_MAGIC, PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION,