sync the struct name with the r3892
This commit is contained in:
parent
b61dcfdbff
commit
8a0fafac9c
|
@ -75,8 +75,8 @@ tr_handle * fLib;
|
|||
|
||||
- (void) updateStats
|
||||
{
|
||||
tr_global_stats stats;
|
||||
tr_getGlobalStats(fLib, &stats);
|
||||
tr_session_stats stats;
|
||||
tr_getCumulativeSessionStats(fLib, &stats);
|
||||
|
||||
[fUploadedField setStringValue: [NSString stringForLargeFileSizeGigs: stats.uploadedGigs bytes: stats.uploadedBytes]];
|
||||
[fDownloadedField setStringValue: [NSString stringForLargeFileSizeGigs: stats.downloadedGigs bytes: stats.downloadedBytes]];
|
||||
|
|
Loading…
Reference in New Issue