Changeset 473

Show
Ignore:
Timestamp:
11/22/06 14:53:53 (2 years ago)
Author:
alo
Message:

--

Files:

Legend:

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

    r470 r473  
    112006-11-22  Alvaro Lopez Ortega  <alvaro@alobbs.com> 
     2 
     3        * cherokee/config_node.c (cherokee_config_node_add): Fixes bug 
     4        #104. It was messing up the configuration tree if the entries were 
     5        not sorted. 
    26 
    37        * configure.in: Added new --enable-beta parameter. It allows to 
  • cherokee/trunk/cherokee/config_node.c

    r443 r473  
    210210                if (child == NULL) { 
    211211                        child = add_new_child (current, &tmp); 
    212  
    213                         if (final) { 
    214                                 cherokee_buffer_add_buffer (&child->val, val); 
    215                         } 
     212                        if (child == NULL) return ret_error; 
     213                } 
     214 
     215                if (final) { 
     216                        cherokee_buffer_add_buffer (&child->val, val); 
    216217                } 
    217218