Ignore:
Timestamp:
Aug 1, 2008, 4:43:22 PM (13 years ago)
Author:
charles
Message:

minor text cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/list.c

    r4404 r6425  
    3838        tr_list *node = *list;
    3939        *list = (*list)->next;
    40         if( data_free_func != NULL )
     40        if( data_free_func )
    4141            data_free_func( node->data );
    4242        node_free( node );
     
    126126{
    127127    void * ret = NULL;
    128     if( *list != NULL )
     128    if( *list )
    129129    {
    130130        ret = (*list)->data;
     
    162162tr_list_foreach( tr_list * list, TrListForeachFunc func )
    163163{
    164     while( list != NULL ) {
     164    while( list ) {
    165165        func( list->data );
    166166        list = list->next;
     
    172172{
    173173    int size = 0;
    174     while( list != NULL ) {
     174    while( list ) {
    175175        ++size;
    176176        list = list->next;
Note: See TracChangeset for help on using the changeset viewer.