summaryrefslogtreecommitdiff
path: root/proxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.c')
-rw-r--r--proxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy.c b/proxy.c
index 640958a..619b08a 100644
--- a/proxy.c
+++ b/proxy.c
@@ -171,8 +171,8 @@ size_t remove_peer_from_torrent_proxy( ot_hash hash, ot_peer *peer ) {
171 if( exactmatch ) { 171 if( exactmatch ) {
172 ot_peerlist *peer_list = torrent->peer_list; 172 ot_peerlist *peer_list = torrent->peer_list;
173 switch( vector_remove_peer( &peer_list->peers, peer ) ) { 173 switch( vector_remove_peer( &peer_list->peers, peer ) ) {
174 case 2: peer_list->seed_count--; /* Fall throughs intended */ 174 case 2: peer_list->seed_count--; /* Intentional fallthrough */
175 case 1: peer_list->peer_count--; /* Fall throughs intended */ 175 case 1: peer_list->peer_count--; /* Intentional fallthrough */
176 default: break; 176 default: break;
177 } 177 }
178 } 178 }