diff options
-rw-r--r-- | ot_clean.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ int clean_single_torrent( ot_torrent *torrent ) { | |||
25 | char *new_peers; | 25 | char *new_peers; |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | if( !timedout ) | ||
29 | return 0; | ||
30 | |||
28 | /* Torrent has idled out */ | 31 | /* Torrent has idled out */ |
29 | if( timedout > OT_TORRENT_TIMEOUT ) | 32 | if( timedout > OT_TORRENT_TIMEOUT ) |
30 | return 1; | 33 | return 1; |