Plugin devel - registering a handler for xmpp iq - not working
neuro at o2.pl
Thu Nov 20 06:24:56 EST 2008
On Thursday 20 November 2008 00:00:35 you wrote:
> Hello Michal.
> You can use "jabber-receiving-xmlnode". Setting the xmlnode to NULL
> (without freeing it) will keep Pidgin from handling the stanza itself.
> It will generate warning output, though.
Oh. Nice :) Still, I have a question about the "without freeing it" part. I shouldn't free
it because it's done somewhere within xmlnode.h as packet is a part of xml node tree,
Moreover, I don't see any code which would generate a warning. AFAICS in
jabber_process_packet() there is:
if(NULL == *packet)
which just drops the further processing of the packet. I can't see any warning generation.
Could you please clarify?
Thanks for your help.
More information about the Devel