/soc/2013/ankitkv/gobjectification: 78b4b4c6e6cb: Merged default...

Ankit Vani a at nevitus.org
Fri Aug 23 05:38:44 EDT 2013


Changeset: 78b4b4c6e6cb0acc28fc6e0fe2b2e2887f885540
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-23 15:07 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/78b4b4c6e6cb

Description:

Merged default branch

diffstat:

 libpurple/protocols/oscar/bstream.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/oscar/bstream.c b/libpurple/protocols/oscar/bstream.c
--- a/libpurple/protocols/oscar/bstream.c
+++ b/libpurple/protocols/oscar/bstream.c
@@ -52,7 +52,7 @@ void byte_stream_destroy(ByteStream *bs)
 size_t byte_stream_bytes_left(ByteStream *bs)
 {
 	g_return_val_if_fail(bs != NULL, 0);
-	g_return_val_if_fail(bs->len < bs->offset, 0);
+	g_return_val_if_fail(bs->len >= bs->offset, 0);
 
 	return bs->len - bs->offset;
 }



More information about the Commits mailing list