diff options
-rw-r--r-- | ot_clean.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ); |