# HG changeset patch # User Richard Laager # Date 1134099444 0 # Node ID c5c0f714d8bcfa52f6c5a4dc2145ecc8742ea73d # Parent 98be11e744a8e9ffc01031b80d06e0cc6ca993fb [gaim-migrate @ 14734] size_t is unsigned, so I'm removing a check that can't ever matter. committer: Tailor Script diff -r 98be11e744a8 -r c5c0f714d8bc src/protocols/oscar/rxqueue.c --- a/src/protocols/oscar/rxqueue.c Fri Dec 09 03:28:56 2005 +0000 +++ b/src/protocols/oscar/rxqueue.c Fri Dec 09 03:37:24 2005 +0000 @@ -42,7 +42,7 @@ { int red = 0; - if (!bs || (fd < 0) || (count < 0)) + if (!bs || (fd < 0)) return -1; if (count > (bs->len - bs->offset)) diff -r 98be11e744a8 -r c5c0f714d8bc src/protocols/oscar/txqueue.c --- a/src/protocols/oscar/txqueue.c Fri Dec 09 03:28:56 2005 +0000 +++ b/src/protocols/oscar/txqueue.c Fri Dec 09 03:37:24 2005 +0000 @@ -217,7 +217,7 @@ { int wrote = 0; - if (!bs || !conn || (count < 0)) + if (!bs || !conn) return -EINVAL; /* Make sure we don't send past the end of the bs */