Changeset 11582


Ignore:
Timestamp:
Dec 23, 2010, 7:04:44 PM (11 years ago)
Author:
charles
Message:

don't use the nonportable comma formatter in remote.c's printf statements. (that is, use %d instead of %'d)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/remote.c

    r11581 r11582  
    101101    seconds = ( seconds % 3600 ) % 60;
    102102
    103     tr_snprintf( d, sizeof( d ), "%'d %s", days, days==1?"day":"days" );
    104     tr_snprintf( h, sizeof( h ), "%'d %s", hours, hours==1?"hour":"hours" );
    105     tr_snprintf( m, sizeof( m ), "%'d %s", minutes, minutes==1?"minute":"minutes" );
    106     tr_snprintf( s, sizeof( s ), "%'d %s", seconds, seconds==1?"seconds":"seconds" );
     103    tr_snprintf( d, sizeof( d ), "%d %s", days, days==1?"day":"days" );
     104    tr_snprintf( h, sizeof( h ), "%d %s", hours, hours==1?"hour":"hours" );
     105    tr_snprintf( m, sizeof( m ), "%d %s", minutes, minutes==1?"minute":"minutes" );
     106    tr_snprintf( s, sizeof( s ), "%d %s", seconds, seconds==1?"seconds":"seconds" );
    107107
    108108    if( days )
Note: See TracChangeset for help on using the changeset viewer.