From 730283b8f7fa0f2528e4a7dd5d568ca38435a921 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 11 Jul 2010 21:06:28 +0000 Subject: [PATCH] whoops --- macosx/Torrent.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index efe7ec3c2..e8ac0ff3c 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -1479,6 +1479,9 @@ int trashDataFile(const char * filename) - (NSInteger) stalledMinutes { + if (fStat->idleSecs == -1) + return -1; + return fStat->idleSecs / 60; }