Ignore:
Timestamp:
Mar 18, 2008, 4:56:01 PM (14 years ago)
Author:
charles
Message:

changes to message logging: (1) bring back "Torrent hasn't responded yet", but only in the message log. (2) make PEX messages debug. (3) log a message when a torrent reaches completion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r5244 r5285  
    163163***/
    164164
    165 static tr_tracker_info *
     165static const tr_tracker_info *
    166166getCurrentAddress( const tr_tracker * t )
    167167{
     
    296296    if( !req ) /* tracker didn't respond */
    297297    {
     298        tr_ninf( t->name, _( "Tracker hasn't responded yet.  Retrying..." ) );
    298299        moveToNextAddress = TRUE;
    299300    }
     
    349350            t->addressIndex = 0;
    350351        }
     352        else
     353        {
     354            const tr_tracker_info * n = getCurrentAddress( t );
     355            tr_ninf( t->name, _( "Trying next tracker \"%s:%d\"" ), n->address, n->port );
     356        }
    351357    }
    352358}
     
    685691    char * ret;
    686692
    687     char * ann = getCurrentAddress(t)->announce;
     693    const char * ann = getCurrentAddress(t)->announce;
    688694   
    689695    evbuffer_add_printf( buf, "%s"
Note: See TracChangeset for help on using the changeset viewer.