view libpurple/purple-client.h @ 30644: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 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_CLIENT_H_INCLUDED_
#define _PURPLE_CLIENT_H_INCLUDED_

#include <glib.h>
#include "purple-client-bindings.h"

G_BEGIN_DECLS

void purple_init(void);

G_END_DECLS

#endif