Ignore:
Timestamp:
Jul 15, 2008, 5:16:57 PM (14 years ago)
Author:
charles
Message:

add a portability wrapper tr_snprintf() around snprintf()

File:
1 edited

Legend:

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

    r6259 r6334  
    243243{
    244244    static char buf[512];
    245     snprintf( buf, sizeof(buf), "%s:%u", inet_ntoa( *addr ), ntohs( port ) );
     245    tr_snprintf( buf, sizeof(buf), "%s:%u", inet_ntoa( *addr ), ntohs( port ) );
    246246    return buf;
    247247}
Note: See TracChangeset for help on using the changeset viewer.