Changeset 3905


Ignore:
Timestamp:
Nov 20, 2007, 4:51:58 PM (15 years ago)
Author:
charles
Message:

fix "manual update" crash reported by Gimp_ and BentMyWookie?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/torrent.c

    r3897 r3905  
    660660}
    661661
    662 void
    663 tr_manualUpdate( tr_torrent * tor )
    664 {
     662static void
     663tr_manualUpdateImpl( void * vtor )
     664{
     665    tr_torrent * tor = vtor;
    665666    if( tor->isRunning )
    666667        tr_trackerReannounce( tor->tracker );
     668}
     669void
     670tr_manualUpdate( tr_torrent * tor )
     671{
     672    tr_runInEventThread( tor->handle, tr_manualUpdateImpl, tor );
    667673}
    668674int
Note: See TracChangeset for help on using the changeset viewer.