Probably fixes the recent problem with disappearing peers

This commit is contained in:
Eric Petit 2007-01-23 17:59:21 +00:00
parent 2bad2cae4b
commit c1963147d3
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ static int SocketGetPriority( int s )
gSocketsCount--;
memmove( &gSockets[i], &gSockets[i+1],
( gSocketsCount - i ) * sizeof( tr_socket_t ) );
return ret;
}
/***********************************************************************