mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 05:38:40 +00:00
sync the struct name with the r3892
This commit is contained in:
@@ -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]];
|
||||
|
||||
Reference in New Issue
Block a user