Changeset 11691


Ignore:
Timestamp:
Jan 16, 2011, 3:51:48 PM (12 years ago)
Author:
jch
Message:

Make ensureAtomExists add to the flags of an existing atom.

Flags are cumulative -- if we learn that a given peer groks encryption
from one source, and that it accepts incoming connections from another,
then the relevant atom should have both flags.

File:
1 edited

Legend:

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

    r11690 r11691  
    15891589        if( a->seedProbability == -1 )
    15901590            atomSetSeedProbability( a, seedProbability );
     1591
     1592        a->flags |= flags;
    15911593    }
    15921594}
Note: See TracChangeset for help on using the changeset viewer.