summaryrefslogtreecommitdiff
path: root/trackerlogic.c
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.c')
-rw-r--r--trackerlogic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trackerlogic.c b/trackerlogic.c
index ea4b489..719f8a2 100644
--- a/trackerlogic.c
+++ b/trackerlogic.c
@@ -365,8 +365,8 @@ size_t remove_peer_from_torrent( PROTO_FLAG proto, struct ot_workstruct *ws ) {
365 if( exactmatch ) { 365 if( exactmatch ) {
366 peer_list = torrent->peer_list; 366 peer_list = torrent->peer_list;
367 switch( vector_remove_peer( &peer_list->peers, &ws->peer ) ) { 367 switch( vector_remove_peer( &peer_list->peers, &ws->peer ) ) {
368 case 2: peer_list->seed_count--; /* Fall throughs intended */ 368 case 2: peer_list->seed_count--; /* Intentional fallthrough */
369 case 1: peer_list->peer_count--; /* Fall throughs intended */ 369 case 1: peer_list->peer_count--; /* Intentional fallthrough */
370 default: break; 370 default: break;
371 } 371 }
372 } 372 }