You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2015/03/13 16:27:37 UTC
svn commit: r1666482 - /httpd/httpd/trunk/server/mpm/motorz/motorz.c
Author: jim
Date: Fri Mar 13 15:27:36 2015
New Revision: 1666482
URL: http://svn.apache.org/r1666482
Log:
work w/ apr_skiplist_insert()
Modified:
httpd/httpd/trunk/server/mpm/motorz/motorz.c
Modified: httpd/httpd/trunk/server/mpm/motorz/motorz.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/motorz/motorz.c?rev=1666482&r1=1666481&r2=1666482&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm/motorz/motorz.c (original)
+++ httpd/httpd/trunk/server/mpm/motorz/motorz.c Fri Mar 13 15:27:36 2015
@@ -70,7 +70,7 @@ static int indexing_comp(void *a, void *
apr_time_t t2 = (apr_time_t) (((motorz_timer_t *) b)->expires);
AP_DEBUG_ASSERT(t1);
AP_DEBUG_ASSERT(t2);
- return ((t1 < t2) ? -1 : ((t1 > t2) ? 1 : 0));
+ return ((t1 < t2) ? -1 : 1);
}
static int indexing_compk(void *ac, void *b)
@@ -78,7 +78,7 @@ static int indexing_compk(void *ac, void
apr_time_t *t1 = (apr_time_t *) ac;
apr_time_t t2 = (apr_time_t) (((motorz_timer_t *) b)->expires);
AP_DEBUG_ASSERT(t2);
- return ((*t1 < t2) ? -1 : ((*t1 > t2) ? 1 : 0));
+ return ((*t1 < t2) ? -1 : 1);
}
static apr_status_t motorz_conn_pool_cleanup(void *baton)