Ignore:
Timestamp:
Oct 28, 2007, 7:42:46 PM (15 years ago)
Author:
charles
Message:

#426 0.91rc1: if pex is disabled on a stopped torrent, pressing "resume" causes pex to be re-enabled. (reported by pea)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/peer-mgr.c

    r3605 r3618  
    13641364    int i, size;
    13651365    const Torrent * t;
    1366     const tr_peer ** peers;
     1366    tr_peer ** peers;
    13671367    tr_peer_stat * ret;
    13681368
     
    13711371
    13721372    t = getExistingTorrent( (tr_peerMgr*)manager, torrentHash );
    1373     peers = (const tr_peer **) tr_ptrArrayPeek( t->peers, &size );
    1374 
     1373    peers = getConnectedPeers( (Torrent*)t, &size );
    13751374    ret = tr_new0( tr_peer_stat, size );
    13761375
     
    13941393
    13951394    *setmeCount = size;
     1395    tr_free( peers );
    13961396
    13971397    managerUnlock( (tr_peerMgr*)manager );
Note: See TracChangeset for help on using the changeset viewer.