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

add a portability wrapper tr_snprintf() around snprintf()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r6328 r6334  
    478478        if(( s = getenv( "TRANSMISSION_HOME" )))
    479479        {
    480             snprintf( path, sizeof( path ), s );
     480            tr_snprintf( path, sizeof( path ), s );
    481481        }
    482482        else
     
    532532        if(( s = getenv( "CLUTCH_HOME" )))
    533533        {
    534             snprintf( path, sizeof( path ), s );
     534            tr_snprintf( path, sizeof( path ), s );
    535535        }
    536536        else if(( s = getenv( "TRANSMISSION_WEB_HOME" )))
    537537        {
    538             snprintf( path, sizeof( path ), s );
     538            tr_snprintf( path, sizeof( path ), s );
    539539        }
    540540        else
Note: See TracChangeset for help on using the changeset viewer.