}
tr_torrent_tiers *
-tr_announcerAddTorrent( tr_announcer * announcer, tr_torrent * tor,
- tr_tracker_callback * callback, void * callbackData )
+tr_announcerAddTorrent( tr_torrent * tor,
+ tr_tracker_callback * callback,
+ void * callbackData )
{
tr_torrent_tiers * tiers;
- assert( announcer != NULL );
assert( tr_isTorrent( tor ) );
tiers = tiersNew( );
*** For torrent customers
**/
-struct tr_torrent_tiers * tr_announcerAddTorrent( struct tr_announcer *,
- tr_torrent * torrent,
+struct tr_torrent_tiers * tr_announcerAddTorrent( tr_torrent * torrent,
tr_tracker_callback * cb,
void * cbdata );
}
}
- tor->tiers = tr_announcerAddTorrent( tor->session->announcer, tor, onTrackerResponse, NULL );
+ tor->tiers = tr_announcerAddTorrent( tor, onTrackerResponse, NULL );
if( isNewTorrent )
{