From 70c634878e4bcf1fdd0e4b9f7c69ce35f39099fb Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 23 Dec 2010 19:04:44 +0000 Subject: [PATCH] don't use the nonportable comma formatter in remote.c's printf statements. (that is, use %d instead of %'d) --- daemon/remote.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon/remote.c b/daemon/remote.c index d0b8e4811..a8a579086 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -100,10 +100,10 @@ tr_strltime( char * buf, int seconds, size_t buflen ) minutes = ( seconds % 3600 ) / 60; seconds = ( seconds % 3600 ) % 60; - tr_snprintf( d, sizeof( d ), "%'d %s", days, days==1?"day":"days" ); - tr_snprintf( h, sizeof( h ), "%'d %s", hours, hours==1?"hour":"hours" ); - tr_snprintf( m, sizeof( m ), "%'d %s", minutes, minutes==1?"minute":"minutes" ); - tr_snprintf( s, sizeof( s ), "%'d %s", seconds, seconds==1?"seconds":"seconds" ); + tr_snprintf( d, sizeof( d ), "%d %s", days, days==1?"day":"days" ); + tr_snprintf( h, sizeof( h ), "%d %s", hours, hours==1?"hour":"hours" ); + tr_snprintf( m, sizeof( m ), "%d %s", minutes, minutes==1?"minute":"minutes" ); + tr_snprintf( s, sizeof( s ), "%d %s", seconds, seconds==1?"seconds":"seconds" ); if( days ) {