Ignore:
Timestamp:
Aug 19, 2007, 2:10:18 AM (14 years ago)
Author:
charles
Message:

fix win32 build. (#304, lubomir.marinov)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2614 r2865  
    414414    /* add it to the list of events waiting to be signaled */
    415415    tr_lockLock( c->lock );
    416     c->events = tr_list_append( c->events, hEvent );
     416    tr_list_append( &c->events, hEvent );
    417417    tr_lockUnlock( c->lock );
    418418
     
    424424    /* remove it from the list of events waiting to be signaled */
    425425    tr_lockLock( c->lock );
    426     c->events = tr_list_remove_data( c->events, hEvent );
     426    tr_list_remove_data( &c->events, hEvent );
    427427    tr_lockUnlock( c->lock );
    428428
     
    511511    delete_sem( c->sem );
    512512#elif defined(WIN32)
    513     tr_list_free( c->events );
     513    tr_list_free( &c->events );
    514514    tr_lockFree( c->lock );
    515515#else
Note: See TracChangeset for help on using the changeset viewer.