diff libpurple/protocols/jabber/caps.c @ 25593:affaa4c4836e

* some code style adjustments in caps.c * some DNS API changes to prepare TXT record resolving support
author Tobias Markmann <tfar@soc.pidgin.im>
date Fri, 01 Aug 2008 12:34:33 +0000
parents 6606566f15ff
children 9ab681f23007
line wrap: on
line diff
--- a/libpurple/protocols/jabber/caps.c	Tue Jul 15 22:16:26 2008 +0000
+++ b/libpurple/protocols/jabber/caps.c	Fri Aug 01 12:34:33 2008 +0000
@@ -198,12 +198,12 @@
 	JabberCapsKey *clientinfo = key;
 	JabberCapsValue *props = value;
 	xmlnode *root = user_data;
-	xmlnode *client = xmlnode_new_child(root,"client");
+	xmlnode *client = xmlnode_new_child(root, "client");
 	GList *iter;
 
-	xmlnode_set_attrib(client,"node", clientinfo->node);
-	xmlnode_set_attrib(client,"ver", clientinfo->ver);
-	xmlnode_set_attrib(client,"hash", clientinfo->hash);
+	xmlnode_set_attrib(client, "node", clientinfo->node);
+	xmlnode_set_attrib(client, "ver", clientinfo->ver);
+	xmlnode_set_attrib(client, "hash", clientinfo->hash);
 	for(iter = props->identities; iter; iter = g_list_next(iter)) {
 		JabberCapsIdentity *id = iter->data;
 		xmlnode *identity = xmlnode_new_child(client, "identity");