author | Mikael Berthe <mikael@lilotux.net> |
Sun, 15 Jan 2006 10:49:50 +0100 | |
changeset 671 | c5da36fd437a |
parent 670 | 2cd0805515a4 |
child 672 | 656e6acdac31 |
--- a/mcabber/src/jabglue.c Sun Jan 15 10:00:03 2006 +0100 +++ b/mcabber/src/jabglue.c Sun Jan 15 10:49:50 2006 +0100 @@ -1442,6 +1442,11 @@ jb_reset_keepalive(); // reset keepalive timeout jpacket_reset(packet); + if (!packet->type) { + scr_LogPrint(LPRINT_LOG, "Packet type = 0"); + return; + } + p = xmlnode_get_attrib(packet->x, "type"); if (p) type = p;