summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ot_clean.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_clean.c b/ot_clean.c
index 82b778b..cfb6bcf 100644
--- a/ot_clean.c
+++ b/ot_clean.c
@@ -112,8 +112,8 @@ static void * clean_worker( void * args ) {
112 ot_torrent *torrent = ((ot_torrent*)(torrents_list->data)) + toffs; 112 ot_torrent *torrent = ((ot_torrent*)(torrents_list->data)) + toffs;
113 if( clean_single_torrent( torrent ) ) { 113 if( clean_single_torrent( torrent ) ) {
114 vector_remove_torrent( torrents_list, torrent ); 114 vector_remove_torrent( torrents_list, torrent );
115 delta_torrentcount -= 1; 115 --delta_torrentcount;
116 --toffs; continue; 116 --toffs;
117 } 117 }
118 } 118 }
119 mutex_bucket_unlock( bucket, delta_torrentcount ); 119 mutex_bucket_unlock( bucket, delta_torrentcount );