Changeset 34


Ignore:
Timestamp:
Nov 8, 2009, 8:38:40 PM (16 years ago)
Author:
bird
Message:

kAvlTmpl: some typos in used code.

Location:
trunk/include/k/kAvlTmpl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/k/kAvlTmpl/kAvlGetWithParent.h

    r29 r34  
    5858    }
    5959
    60     KAVL_UNLOCK(pRoot);
     60    KAVL_READ_UNLOCK(pRoot);
    6161
    6262    *ppParent = pParent;
  • trunk/include/k/kAvlTmpl/kAvlRemove2.h

    r29 r34  
    3939 *          easier to manage.
    4040 */
    41 KAVL_DECL(KAVLNODE *) KAVL_FN(Remove2)(KAVLTROOT *pRoot, KAVLNODE *pNode)
     41KAVL_DECL(KAVLNODE *) KAVL_FN(Remove2)(KAVLROOT *pRoot, KAVLNODE *pNode)
    4242{
    4343#ifdef KAVL_EQUAL_ALLOWED
     
    7979     * insert the first duplicate in our place.
    8080     */
    81     if (pNode->mpList == KAVL_NODE)
     81    if (pNode->mpList == KAVL_NULL)
    8282    {
    8383        KAVL_WRITE_UNLOCK(pRoot);
Note: See TracChangeset for help on using the changeset viewer.