Mercurial > pidgin.yaz
diff pidgin/gtkwhiteboard.c @ 31082:a453690ba4f4
Fixed the error triggered by the failing 'byte_stream_bytes_left(bs) >= len'
check in byte_stream_getstr() when called from aim_parse_extstatus().
According to http://iserverd.khstu.ru/oscar/snac_01_21.html, we were
parsing type 0x0002 packets slightly wrongly: they don't have neither
flags nor length field; we were reading too much and that caused the assertion.
Since we didn't use the data from this type of packets anyway, I just removed
the parsing of them altogether.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Sat, 30 Oct 2010 15:30:30 +0000 |
parents | 2b9db39bd7ed |
children | 6ea43032df70 |