Changeset 772 for trunk/macosx
- Timestamp:
- Aug 14, 2006, 10:27:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Torrent.m
r771 r772 527 527 { 528 528 peer = peers[i]; 529 530 client = [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding]; 531 //get rid of strange returned client strings 532 if ([client hasPrefix: @"unknown client ("] && ![client hasSuffix: @")"]) 533 client = @"unknown client"; 534 529 535 530 [peerDics addObject: [NSDictionary dictionaryWithObjectsAndKeys: 536 client, @"Client",531 [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding], @"Client", 537 532 [NSNumber numberWithBool: peer.isDownloading], @"UL To", 538 533 [NSNumber numberWithBool: peer.isUploading], @"DL From", nil]];
Note: See TracChangeset
for help on using the changeset viewer.