Fixes a typo that caused us to reject all incoming connections

This commit is contained in:
Eric Petit 2007-07-04 15:04:05 +00:00
parent 621ce10c18
commit 981ede4d4b
1 changed files with 1 additions and 1 deletions

View File

@ -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;