Changeset 4140


Ignore:
Timestamp:
Dec 13, 2007, 1:20:16 AM (14 years ago)
Author:
charles
Message:

fix the 500ms remap reported by Chinstrap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r4092 r4140  
    88 * the Transmission project.
    99 *
    10  * $Id:$
     10 * $Id$
    1111 */
    1212
     
    145145            nat->state = TR_NATPMP_SEND_MAP;
    146146
    147         else if( nat->isMapped && time(NULL) <= nat->renewTime )
     147        else if( nat->isMapped && time(NULL) >= nat->renewTime )
    148148            nat->state = TR_NATPMP_SEND_MAP;
    149149    }
Note: See TracChangeset for help on using the changeset viewer.