Ignore:
Timestamp:
Jun 19, 2010, 2:33:10 PM (12 years ago)
Author:
charles
Message:

(trunk) #3256 "libtransmission/publish.[ch] should be replaced" -- apply publish.diff for 2.10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r10798 r10800  
    361361
    362362static void
    363 onTrackerResponse( void * tracker UNUSED,
    364                    void * vevent,
    365                    void * user_data )
    366 {
    367     tr_torrent * tor = user_data;
    368     tr_tracker_event * event = vevent;
    369 
     363onTrackerResponse( tr_torrent * tor, const tr_tracker_event * event, void * unused UNUSED )
     364{
    370365    switch( event->messageType )
    371366    {
     
    728723    }
    729724
    730     tor->tiers = tr_announcerAddTorrent( tor->session->announcer, tor );
    731     tor->tiersSubscription = tr_announcerSubscribe( tor->tiers, onTrackerResponse, tor );
     725    tor->tiers = tr_announcerAddTorrent( tor->session->announcer, tor, onTrackerResponse, NULL );
    732726
    733727    if( doStart )
     
    13151309    tr_cpDestruct( &tor->completion );
    13161310
    1317     tr_announcerUnsubscribe( tor->tiers, tor->tiersSubscription );
    13181311    tr_announcerRemoveTorrent( session->announcer, tor );
    13191312
Note: See TracChangeset for help on using the changeset viewer.