diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-03-17 23:00:08 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-03-17 23:00:08 +0000 |
commit | c94867c4cd3211541e22b5a293ee96398c886e9c (patch) | |
tree | 93a0527b0ba4bc0c9d42639229ecc5face6de0a7 /tables | |
parent | 8758c6d8cf32b44a324941371c0a08b52f40661f (diff) | |
download | apr-c94867c4cd3211541e22b5a293ee96398c886e9c.tar.gz |
skiplist: follow up to r1667420: add to the index (never replace).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1667423 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r-- | tables/apr_skiplist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tables/apr_skiplist.c b/tables/apr_skiplist.c index e053c56e3..a8794c069 100644 --- a/tables/apr_skiplist.c +++ b/tables/apr_skiplist.c @@ -525,7 +525,7 @@ static apr_skiplistnode *insert_compare(apr_skiplist *sl, void *data, li = ret; for (p = apr_skiplist_getlist(sl->index); p; apr_skiplist_next(sl->index, &p)) { apr_skiplist *sli = (apr_skiplist *)p->data; - ni = insert_compare(sli, ret->data, sli->compare, add, myfree); + ni = insert_compare(sli, ret->data, sli->compare, 1, NULL); li->nextindex = ni; ni->previndex = li; li = ni; |