From 981ede4d4b5500f5d761bdc330c65c4378b21d57 Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Wed, 4 Jul 2007 15:04:05 +0000 Subject: [PATCH] Fixes a typo that caused us to reject all incoming connections --- libtransmission/shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/shared.c b/libtransmission/shared.c index 60eba59d5..d8c4fbd05 100644 --- a/libtransmission/shared.c +++ b/libtransmission/shared.c @@ -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;