Changeset 2990


Ignore:
Timestamp:
Sep 9, 2007, 12:43:55 AM (15 years ago)
Author:
charles
Message:

(0.8x) take dennis' suggestion for improving the peer debug message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8x/libtransmission/peer.c

    r2925 r2990  
    269269    va_start( args, msg );
    270270    snprintf( string, sizeof string, "%08x:%04x ",
    271              (uint32_t) peer->addr.s_addr, peer->port );
     271             (uint32_t) ntohl(peer->addr.s_addr), tr_peerPort(peer) );
    272272    vsnprintf( &string[14], sizeof( string ) - 14, msg, args );
    273273    va_end( args );
Note: See TracChangeset for help on using the changeset viewer.