Changeset 6116


Ignore:
Timestamp:
Jun 10, 2008, 2:40:40 AM (15 years ago)
Author:
livings124
Message:

display the number of webseeds that we're downloading from in the main window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r6114 r6116  
    10351035        [dict setObject: [NSString stringWithUTF8String: fInfo->webseeds[i]] forKey: @"Address"];
    10361036       
    1037         if (dlSpeeds[i] != -1)
     1037        if (dlSpeeds[i] != -1.0)
    10381038            [dict setObject: [NSNumber numberWithFloat: dlSpeeds[i]] forKey: @"DL From Rate"];
    10391039       
     
    11501150                                                    "Torrent -> status string"), [self peersSendingToUs]];
    11511151               
    1152                 /*int webSeedCount = [self webSeedCount];
     1152                int webSeedCount = fStat->webseedsSendingToUs;
    11531153                if (webSeedCount > 0)
    11541154                {
     
    11611161                   
    11621162                    string = [string stringByAppendingFormat: @" + %@", webSeedString];
    1163                 }*/
     1163                }
    11641164               
    11651165                break;
Note: See TracChangeset for help on using the changeset viewer.