Mercurial > pidgin
diff libpurple/protocols/oscar/oscar.h @ 30393:bbb27d65681f
Bstream cleanups:
1. g_return_val_if_fail()'s in place of XXX's.
2. byte_stream_empty() -> byte_stream_bytes_left(). I think the world
is a better place now.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Wed, 28 Jul 2010 23:53:25 +0000 |
parents | 5661f30d1b8e |
children | be056399ae5f |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.h Wed Jul 28 23:13:25 2010 +0000 +++ b/libpurple/protocols/oscar/oscar.h Wed Jul 28 23:53:25 2010 +0000 @@ -1209,7 +1209,7 @@ int byte_stream_new(ByteStream *bs, guint32 len); int byte_stream_init(ByteStream *bs, guint8 *data, int len); void byte_stream_destroy(ByteStream *bs); -int byte_stream_empty(ByteStream *bs); +int byte_stream_bytes_left(ByteStream *bs); int byte_stream_curpos(ByteStream *bs); int byte_stream_setpos(ByteStream *bs, unsigned int off); void byte_stream_rewind(ByteStream *bs);