Mercurial > pidgin
comparison libpurple/protocols/jabber/disco.c @ 25018:2a6a37c7970b
* changed name of jabber_caps_calculate_hash() to jabber_caps_calculate_own_hash()
* added function which parses a query node to internal caps structure
author | Tobias Markmann <tfar@soc.pidgin.im> |
---|---|
date | Sun, 22 Jun 2008 17:25:23 +0000 |
parents | 26eabe8e739b |
children | ba362a67278c |
comparison
equal
deleted
inserted
replaced
25017:26eabe8e739b | 25018:2a6a37c7970b |
---|---|
89 xmlnode *in_query; | 89 xmlnode *in_query; |
90 const char *node = NULL; | 90 const char *node = NULL; |
91 const char *node_uri = NULL; | 91 const char *node_uri = NULL; |
92 | 92 |
93 // create custom caps node URI | 93 // create custom caps node URI |
94 node_uri = g_strconcat(CAPS0115_NODE, "#", jabber_caps_get_hash(), NULL); | 94 node_uri = g_strconcat(CAPS0115_NODE, "#", jabber_caps_get_own_hash(), NULL); |
95 | 95 |
96 if((in_query = xmlnode_get_child(packet, "query"))) { | 96 if((in_query = xmlnode_get_child(packet, "query"))) { |
97 node = xmlnode_get_attrib(in_query, "node"); | 97 node = xmlnode_get_attrib(in_query, "node"); |
98 } | 98 } |
99 | 99 |