Changeset 825

Show
Ignore:
Timestamp:
07/14/07 18:44:15 (1 year ago)
Author:
alo
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • cherokee/trunk/ChangeLog

    r824 r825  
    112007-07-14  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/avl.c (cherokee_avl_del): Return the value in the third 
     4        parameter (double pointer). 
    25 
    36        * cherokee/iocache.c: Now it uses an AVL tree instead of a 
  • cherokee/trunk/cherokee/avl.c

    r823 r825  
    358358        while (true) { 
    359359                re = compare_buffers (key, &node->id); 
    360                 if (re == 0) 
     360                if (re == 0) { 
     361                        if (value)  
     362                                *value = node->value; 
    361363                        break; 
    362                 else if (re < 0) { 
     364                } else if (re < 0) { 
    363365                        if (!node->left_child) 
    364366                                return ret_not_found;