Fixes a typo that caused us to reject all incoming connections
This commit is contained in:
parent
621ce10c18
commit
981ede4d4b
|
@ -405,7 +405,7 @@ static void DispatchPeers( tr_shared_t * s )
|
|||
for( tor = h->torrentList; tor; tor = tor->next )
|
||||
{
|
||||
tr_torrentWriterLock( tor );
|
||||
if( tor->cpStatus != TR_RUN_RUNNING )
|
||||
if( tor->runStatus != TR_RUN_RUNNING )
|
||||
{
|
||||
tr_torrentWriterUnlock( tor );
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue