mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
sloppy, sloppy. what should've been 1 commit has been 5.
This commit is contained in:
parent
033ee7ff58
commit
81ea9b4abd
1 changed files with 0 additions and 2 deletions
|
@ -119,14 +119,12 @@ tr_statsInit( tr_handle * handle )
|
||||||
stats->cumulative.sessionCount++;
|
stats->cumulative.sessionCount++;
|
||||||
stats->startTime = time(NULL);
|
stats->startTime = time(NULL);
|
||||||
handle->sessionStats = stats;
|
handle->sessionStats = stats;
|
||||||
fprintf( stderr, "handle %p sessionStats is %p\n", handle, handle->sessionStats );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
tr_statsClose( tr_handle * handle )
|
tr_statsClose( tr_handle * handle )
|
||||||
{
|
{
|
||||||
tr_session_stats tmp;
|
tr_session_stats tmp;
|
||||||
fprintf( stderr, "handle %p sessionStats is %p\n", handle, handle->sessionStats );
|
|
||||||
tr_getCumulativeSessionStats( handle, &tmp );
|
tr_getCumulativeSessionStats( handle, &tmp );
|
||||||
saveCumulativeStats( &tmp );
|
saveCumulativeStats( &tmp );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue