You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2021/03/11 13:59:52 UTC
svn commit: r1887482 - /apr/apr/trunk/tables/apr_skiplist.c
Author: ylavic
Date: Thu Mar 11 13:59:51 2021
New Revision: 1887482
URL: http://svn.apache.org/viewvc?rev=1887482&view=rev
Log:
Follow up to r1887481: fix skiplisti_init() returned pointer.
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=1887482&r1=1887481&r2=1887482&view=diff
==============================================================================
--- apr/apr/trunk/tables/apr_skiplist.c (original)
+++ apr/apr/trunk/tables/apr_skiplist.c Thu Mar 11 13:59:51 2021
@@ -251,7 +251,7 @@ APR_DECLARE(apr_status_t) apr_skiplist_i
return rv;
}
apr_skiplist_set_compare(sl->index, indexing_comp, indexing_compk);
- sl = *s;
+ *s = sl;
return APR_SUCCESS;
}