Ignore:
Timestamp:
Oct 21, 2009, 11:32:02 PM (13 years ago)
Author:
livings124
Message:

#2524 torrent peer limit not saved right away

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r9341 r9351  
    18631863    assert( tr_isTorrent( tor ) );
    18641864
    1865     tor->maxConnectedPeers = maxConnectedPeers;
     1865    if ( tor->maxConnectedPeers != maxConnectedPeers )
     1866    {
     1867        tor->maxConnectedPeers = maxConnectedPeers;
     1868
     1869        tr_torrentSetDirty( tor );
     1870    }
    18661871}
    18671872
Note: See TracChangeset for help on using the changeset viewer.