Changeset 5294cbf for global.c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:36 PM (15 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
94b0b1d
Parents:
75c7e8e
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 19:32:35)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:36)
Message:
Rename owl_global_free_filter_ent to owl_global_delete_filter_ent.

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

Legend:

Unmodified
Added
Removed
  • global.c

    r5cbc929 r5294cbf  
    656656}
    657657
    658 static void owl_global_free_filter_ent(void *data) {
     658static void owl_global_delete_filter_ent(void *data)
     659{
    659660  owl_global_filter_ent *e = data;
    660661  e->g->filterlist = g_list_remove(e->g->filterlist, e->f);
     
    669670
    670671  owl_dict_insert_element(&(g->filters), owl_filter_get_name(f),
    671                           e, owl_global_free_filter_ent);
     672                          e, owl_global_delete_filter_ent);
    672673  g->filterlist = g_list_append(g->filterlist, f);
    673674}
     
    676677  owl_global_filter_ent *e = owl_dict_remove_element(&(g->filters), name);
    677678  if (e)
    678     owl_global_free_filter_ent(e);
     679    owl_global_delete_filter_ent(e);
    679680}
    680681
Note: See TracChangeset for help on using the changeset viewer.