Ignore:
Timestamp:
Oct 13, 2007, 2:02:10 PM (15 years ago)
Author:
charles
Message:

tweak the debugging messages a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r3393 r3395  
    14981498    /* if it's marked for purging, close it */
    14991499    if( peer->doPurge ) {
    1500         tordbg( t, "purging peer %p because its doPurge flag is set", tr_peerIoAddrStr(&atom->addr,atom->port) );
     1500        tordbg( t, "purging peer %s because its doPurge flag is set", tr_peerIoAddrStr(&atom->addr,atom->port) );
    15011501        return TRUE;
    15021502    }
     
    15071507        const int peerIsSeed = atom->flags & ADDED_F_SEED_FLAG;
    15081508        if( peerIsSeed && clientIsSeed && ( tor->pexDisabled || (now-atom->time>=30) ) ) {
    1509             tordbg( t, "purging peer %p because we're both seeds", tr_peerIoAddrStr(&atom->addr,atom->port) );
     1509            tordbg( t, "purging peer %s because we're both seeds", tr_peerIoAddrStr(&atom->addr,atom->port) );
    15101510            return TRUE;
    15111511        }
     
    15271527        const int idleTime = then ? (now-then) : 0;
    15281528        if( idleTime > limit ) {
    1529             tordbg( t, "purging peer %p it's been %d secs since we shared anything",
     1529            tordbg( t, "purging peer %s because it's been %d secs since we shared anything",
    15301530                       tr_peerIoAddrStr(&atom->addr,atom->port), idleTime );
    15311531            return TRUE;
Note: See TracChangeset for help on using the changeset viewer.