libpurple/protocols/jabber/pep.c

branch
cpw.darkrain42.xmpp.bosh
changeset 26707
a4f7c5d5e5ae
parent 26072
e8fce2b2b9fe
parent 26687
1e799151fabe
child 26958
a955bd42f529
--- a/libpurple/protocols/jabber/pep.c	Sun Apr 05 03:25:00 2009 +0000
+++ b/libpurple/protocols/jabber/pep.c	Sun Apr 05 21:13:10 2009 +0000
@@ -60,8 +60,11 @@
 	g_hash_table_replace(pep_handlers, g_strdup(xmlns), handlerfunc);
 }
 
-static void do_pep_iq_request_item_callback(JabberStream *js, xmlnode *packet, gpointer data) {
-	const char *from = xmlnode_get_attrib(packet,"from");
+static void
+do_pep_iq_request_item_callback(JabberStream *js, const char *from,
+                                JabberIqType type, const char *id,
+                                xmlnode *packet, gpointer data)
+{
 	xmlnode *pubsub = xmlnode_get_child_with_namespace(packet,"pubsub","http://jabber.org/protocol/pubsub");
 	xmlnode *items = NULL;
 	JabberPEPHandler *cb = data;

mercurial