summaryrefslogtreecommitdiff
path: root/ot_clean.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_clean.c')
-rw-r--r--ot_clean.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 625e94a..e8d2841 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -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;