Changeset 8c59178 for buddylist.c


Ignore:
Timestamp:
Mar 7, 2010, 10:26:02 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5e5f08f
Parents:
7ab0020
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 20:34:32)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/07/10 22:26:02)
Message:
Rename owl_list_free_all to owl_list_cleanup.

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

Legend:

Unmodified
Added
Removed
  • buddylist.c

    r80b5c42 r8c59178  
    131131void owl_buddylist_clear(owl_buddylist *bl)
    132132{
    133   owl_list_free_all(&(bl->buddies), (void (*)(void *))owl_buddy_delete);
     133  owl_list_cleanup(&(bl->buddies), (void (*)(void *))owl_buddy_delete);
    134134  owl_list_create(&(bl->buddies));
    135135}
     
    137137void owl_buddylist_free(owl_buddylist *bl)
    138138{
    139   owl_list_free_all(&(bl->buddies), (void (*)(void *))owl_buddy_delete);
     139  owl_list_cleanup(&(bl->buddies), (void (*)(void *))owl_buddy_delete);
    140140}
Note: See TracChangeset for help on using the changeset viewer.