Ignore:
Timestamp:
Mar 13, 2008, 3:53:18 AM (14 years ago)
Author:
charles
Message:

#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/natpmp.c

    r5224 r5243  
    6666{
    6767    if( ret==NATPMP_TRYAGAIN )
    68         tr_dbg( _( "%s: %s responded 'try again'" ), getKey(), func );
     68        tr_ndbg( getKey(), _( "%s responded 'try again'" ), func );
    6969    else if( ret >= 0 )
    70         tr_dbg( _( "%s: %s succeeded (%d)" ), getKey(), func, ret );
     70        tr_ndbg( getKey(), _( "%s succeeded (%d)" ), func, ret );
    7171    else
    72         tr_err( _( "%s: %s failed (%d): %s (%d)" ), getKey(), func, ret, tr_strerror(errno), errno );
     72        tr_nerr( getKey(), _( "%s failed (%d): %s (%d)" ), func, ret, tr_strerror(errno), errno );
    7373}
    7474
     
    110110setErrorState( struct tr_natpmp * nat )
    111111{
    112     tr_err( _( "%s: If your router supports NAT-PMP, please make sure NAT-PMP is enabled!" ), getKey() );
    113     tr_err( _( "%s: NAT-PMP port forwarding unsuccessful, trying UPnP next" ), getKey() );
     112    tr_nerr( getKey(), _( "If your router supports NAT-PMP, please make sure NAT-PMP is enabled!" ) );
     113    tr_nerr( getKey(), _( "NAT-PMP port forwarding unsuccessful, trying UPnP next" ) );
    114114    nat->state = TR_NATPMP_ERR;
    115115}
     
    137137        logVal( "readnatpmpresponseorretry", val );
    138138        if( val >= 0 ) {
    139             tr_inf( _( "%s: found public address %s" ), getKey(), inet_ntoa( response.publicaddress.addr ) );
     139            tr_ninf( getKey(), _( "found public address %s" ), inet_ntoa( response.publicaddress.addr ) );
    140140            nat->state = TR_NATPMP_IDLE;
    141141        } else if( val != NATPMP_TRYAGAIN ) {
     
    164164        logVal( "readnatpmpresponseorretry", val );
    165165        if( val >= 0 ) {
    166             tr_inf( _( "%s: no longer forwarding port %d" ), getKey(), nat->port );
     166            tr_ninf( getKey(), _( "no longer forwarding port %d" ), nat->port );
    167167            nat->state = TR_NATPMP_IDLE;
    168168            nat->port = -1;
     
    200200            nat->renewTime = time( NULL ) + LIFETIME_SECS;
    201201            nat->port = resp.newportmapping.privateport;
    202             tr_inf( _( "%s: port %d forwarded successfully" ), getKey(), nat->port );
     202            tr_ninf( getKey(), _( "port %d forwarded successfully" ), nat->port );
    203203        } else if( val != NATPMP_TRYAGAIN ) {
    204204            setErrorState( nat );
Note: See TracChangeset for help on using the changeset viewer.