Rearranged the order of a conditional within the inner
loop of apr_brigade_partition to make it short-circuit
more quickly in the common case


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/trunk@58667 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/buckets/apr_brigade.c b/buckets/apr_brigade.c
index 8612d30..a75e0fc 100644
--- a/buckets/apr_brigade.c
+++ b/buckets/apr_brigade.c
@@ -149,7 +149,7 @@
     }
 
     APR_BRIGADE_FOREACH(e, b) {
-        if ((point > (apr_size_t)(-1)) && (e->length == (apr_size_t)(-1))) {
+        if ((e->length == (apr_size_t)(-1)) && (point > (apr_size_t)(-1))) {
             /* XXX: point is too far out to simply split this bucket,
              * we must fix this bucket's size and keep going... */
             rv = apr_bucket_read(e, &s, &len, APR_BLOCK_READ);