apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1664911 - /apr/apr/trunk/tables/apr_skiplist.c
Date Sat, 07 Mar 2015 20:18:54 GMT
Author: jim
Date: Sat Mar  7 20:18:54 2015
New Revision: 1664911

URL: http://svn.apache.org/r1664911
Log:
Maintain stability ordering

Modified:
    apr/apr/trunk/tables/apr_skiplist.c

Modified: apr/apr/trunk/tables/apr_skiplist.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/tables/apr_skiplist.c?rev=1664911&r1=1664910&r2=1664911&view=diff
==============================================================================
--- apr/apr/trunk/tables/apr_skiplist.c (original)
+++ apr/apr/trunk/tables/apr_skiplist.c Sat Mar  7 20:18:54 2015
@@ -433,7 +433,7 @@ static apr_skiplistnode *insert_compare(
                 skiplist_qclear(&sl->stack_q);
                 return NULL;
             }
-            if (compared > 0) {
+            if (compared >= 0) {
                 m = m->next;
                 continue;
             }



Mime
View raw message