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 ) { char *new_peers; #endif + if( !timedout ) + return 0; + /* Torrent has idled out */ if( timedout > OT_TORRENT_TIMEOUT ) return 1;