Changeset 4213

Show
Ignore:
Timestamp:
11/13/08 01:46:29 (8 weeks ago)
Author:
markybob
Message:

2931 assert fix

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0.0_RC/libtorrent/src/torrent.cpp

    r4210 r4213  
    36193619                else 
    36203620                { 
    3621                         TORRENT_ASSERT(m_abort || m_picker->num_pieces() == 0); 
     3621                        TORRENT_ASSERT(m_abort || !m_picker || m_picker->num_pieces() == 0); 
    36223622                } 
    36233623 
  • trunk/libtorrent/src/torrent.cpp

    r4210 r4213  
    36193619                else 
    36203620                { 
    3621                         TORRENT_ASSERT(m_abort || m_picker->num_pieces() == 0); 
     3621                        TORRENT_ASSERT(m_abort || !m_picker || m_picker->num_pieces() == 0); 
    36223622                } 
    36233623