Changeset a1074de for filterelement.c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:09 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
bf7aa1d
Parents:
0e57335
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 22:21:53)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:09)
Message:
owl_dict_insert_element: Rename free_on_replace argument to delete_on_replace.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • filterelement.c

    r27f6487 ra1074de  
    292292  owl_dict_create(&filters);
    293293
    294   owl_dict_insert_element(&filters, f->name, &fe_visiting, owl_dict_noop_free);
     294  owl_dict_insert_element(&filters, f->name, &fe_visiting, owl_dict_noop_delete);
    295295
    296296  rv = _owl_filterelement_is_toodeep(fe, &filters);
     
    311311    } else if (nval == NULL) {
    312312      f = owl_global_get_filter(&g, fe->field);
    313       owl_dict_insert_element(seen, fe->field, &fe_visiting, owl_dict_noop_free);
     313      owl_dict_insert_element(seen, fe->field, &fe_visiting, owl_dict_noop_delete);
    314314      if(f) rv = _owl_filterelement_is_toodeep(f->root, seen);
    315       owl_dict_insert_element(seen, fe->field, &fe_visited, owl_dict_noop_free);
     315      owl_dict_insert_element(seen, fe->field, &fe_visited, owl_dict_noop_delete);
    316316    }
    317317  } else {
Note: See TracChangeset for help on using the changeset viewer.