Ignore:
Timestamp:
Jan 16, 2009, 11:17:31 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix IPv6 reported & solved by erdgeist. add debugging message to help track down any future problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.h

    r7663 r7730  
    160160static TR_INLINE const char* tr_peerIoGetAddrStr( const tr_peerIo * io )
    161161{
    162     return tr_peerIoAddrStr( &io->addr, io->port );
     162    return tr_isPeerIo( io ) ? tr_peerIoAddrStr( &io->addr, io->port ) : "error";
    163163}
    164164
Note: See TracChangeset for help on using the changeset viewer.