Changeset 12257


Ignore:
Timestamp:
Mar 29, 2011, 9:10:20 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) fix a crasher introduced yesterday in r12248

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r12254 r12257  
    422422    assert( peer != NULL );
    423423
    424     if( tor->torrentPeers->isRunning )
    425         peerDeclinedAllRequests( tor->torrentPeers, peer );
     424    peerDeclinedAllRequests( tor->torrentPeers, peer );
    426425
    427426    if( peer->msgs != NULL )
     
    14721471            int keepCount = 0;
    14731472            int cancelCount = 0;
    1474             struct block_request * cancel = tr_new( struct block_request, n );
    14751473            const struct block_request * it;
    14761474            const struct block_request * end;
     1475            struct block_request * cancel = tr_new( struct block_request, n );
    14771476
    14781477            for( it=t->requests, end=it+n; it!=end; ++it )
Note: See TracChangeset for help on using the changeset viewer.