Ignore:
Timestamp:
Dec 13, 2007, 8:19:52 PM (14 years ago)
Author:
charles
Message:

fix crash on shutdown on natpmp routers reported by SoftwareElves?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r4155 r4157  
    8686{
    8787    assert( !nat->isMapped );
    88     assert( ( nat->state == TR_NATPMP_IDLE ) || ( nat->state == TR_NATPMP_ERR ) );
     88    assert( ( nat->state == TR_NATPMP_IDLE )
     89         || ( nat->state == TR_NATPMP_ERR )
     90         || ( nat->state == TR_NATPMP_DISCOVER ) );
    8991
    9092    closenatpmp( &nat->natpmp );
Note: See TracChangeset for help on using the changeset viewer.