Changeset 1575


Ignore:
Timestamp:
Jun 2, 2010, 6:03:39 PM (12 years ago)
Author:
Sven Rech
Message:

qs fix

Location:
trunk/CrypPlugins/QuadraticSieve
Files:
2 edited

Legend:

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

    r1561 r1575  
    130130            string size1 = s1.Substring(0, (s1.Length < 3) ? s1.Length : 3);
    131131            string s2 = ((uploaded / 1024.0) / 1024).ToString();
    132             string size2 = s1.Substring(0, (s2.Length < 3) ? s2.Length : 3);
     132            string size2 = s2.Substring(0, (s2.Length < 3) ? s2.Length : 3);
    133133            quadraticSieveQuickWatchPresentation.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (SendOrPostCallback)delegate
    134             {               
    135                 quadraticSieveQuickWatchPresentation.relationsInfo.Content = "Downloaded " + s1 + " MB! Uploaded " + s2 + " MB!";
     134            {
     135                quadraticSieveQuickWatchPresentation.relationsInfo.Content = "Downloaded " + size1 + " MB! Uploaded " + size2 + " MB!";
    136136            }, null);
    137137        }
  • trunk/CrypPlugins/QuadraticSieve/QuadraticSieve.cs

    r1561 r1575  
    501501                    {
    502502                        byte[] serializedYield = (byte[])serializeYield.Invoke(null, new object[] { yield });
     503                        peerToPeer.Put(serializedYield);
    503504                    }
    504505
Note: See TracChangeset for help on using the changeset viewer.