1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

fix silly typo in last commit

This commit is contained in:
Mitchell Livingston 2007-12-28 21:40:51 +00:00
parent 3377bc4e02
commit d965c1af92

View file

@ -156,6 +156,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
if (fPreviousFinishedPieces != NULL)
free(fPreviousFinishedPieces);
[fFinishedPiecesDate release];
[fDownloadFolder release];
[fIncompleteFolder release];
@ -217,7 +218,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
- (float *) getPreviousAmountFinished
{
if (fFinishedPiecesDate && [fFinishedPiecesDate timeIntervalSinceNow] < -1.0)
if (fFinishedPiecesDate && [fFinishedPiecesDate timeIntervalSinceNow] > -2.0)
return fPreviousFinishedPieces;
else
return NULL;