Changeset 1764


Ignore:
Timestamp:
Aug 5, 2010, 9:22:36 PM (11 years ago)
Author:
Sven Rech
Message:

qs fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/QuadraticSieve/PeerToPeer.cs

    r1763 r1764  
    220220            {
    221221                WaitTillConnected();
     222
     223                //store our name:
     224                P2PManager.Retrieve(NameIdentifier(ourID));     //just to outsmart the versioning system
     225                P2PManager.Store(NameIdentifier(ourID), System.Text.ASCIIEncoding.ASCII.GetBytes(ourName.ToCharArray()));
     226
    222227                head = 0;
    223228                SynchronizeHead();
     
    566571            activePeers = new HashSet<int>();
    567572           
    568             //store our name:
    569             P2PManager.Retrieve(NameIdentifier(ourID));     //just to outsmart the versioning system
    570             P2PManager.Store(NameIdentifier(ourID),  System.Text.ASCIIEncoding.ASCII.GetBytes(ourName.ToCharArray()));
    571 
    572573            if (loadStoreThread != null)
    573574                throw new Exception("LoadStoreThread already started");
Note: See TracChangeset for help on using the changeset viewer.