sync the struct name with the r3892

This commit is contained in:
Charles Kerr 2007-11-19 21:21:34 +00:00
parent b61dcfdbff
commit 8a0fafac9c
1 changed files with 2 additions and 2 deletions

View File

@ -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]];