Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jab_iq.c @ 688:bdc1184f6877
Call IQ callback function when receiving an IQ error packet
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 09 Feb 2006 23:16:46 +0100 |
parents | 426145046b93 |
children | 281aab5aef50 |
comparison
equal
deleted
inserted
replaced
687:426145046b93 | 688:bdc1184f6877 |
---|---|
470 handle_iq_set(conn, from, xmldata); | 470 handle_iq_set(conn, from, xmldata); |
471 } else if (!strcmp(type, TMSG_ERROR)) { | 471 } else if (!strcmp(type, TMSG_ERROR)) { |
472 xmlnode x = xmlnode_get_tag(xmldata, TMSG_ERROR); | 472 xmlnode x = xmlnode_get_tag(xmldata, TMSG_ERROR); |
473 if (x) | 473 if (x) |
474 display_server_error(x); | 474 display_server_error(x); |
475 iqs_callback(xmlnode_get_attrib(xmldata, "id"), NULL); | |
475 } | 476 } |
476 } | 477 } |
477 | 478 |
478 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ | 479 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |