Ignore:
Timestamp:
Sep 28, 2007, 4:00:43 PM (15 years ago)
Author:
charles
Message:

remove obsolete MAX_PEERS in internal.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r3197 r3225  
    12061206       on a sliding scale that's based on how many other peers are available */
    12071207    relaxStrictnessIfFewerThanN =
    1208         (int)(((TR_MAX_PEER_COUNT * RELAX_RULES_PERCENTAGE) / 100.0) + 0.5);
     1208        (int)(((MAX_CONNECTED_PEERS_PER_TORRENT * RELAX_RULES_PERCENTAGE) / 100.0) + 0.5);
    12091209
    12101210    /* if we have >= relaxIfFewerThan, strictness is 100%.
Note: See TracChangeset for help on using the changeset viewer.