Mercurial > pidgin
diff src/protocols/jabber/parser.c @ 7072:1350352f5818
[gaim-migrate @ 7637]
Jabber Registration Support
Also, what I think is a bugfix for the request API. If it's not, then
I'm very confused.
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Tue, 30 Sep 2003 14:37:05 +0000 |
| parents | 67c4e9d39242 |
| children | dd6fe7d965aa |
line wrap: on
line diff
--- a/src/protocols/jabber/parser.c Tue Sep 30 12:59:37 2003 +0000 +++ b/src/protocols/jabber/parser.c Tue Sep 30 14:37:05 2003 +0000 @@ -80,9 +80,10 @@ if(!strcmp(js->current->name, element_name)) js->current = js->current->parent; } else { - jabber_process_packet(js, js->current); - xmlnode_free(js->current); + xmlnode *packet = js->current; js->current = NULL; + jabber_process_packet(js, packet); + xmlnode_free(packet); } }
