Changeset 9851
- Timestamp:
- Jan 1, 2010, 10:40:54 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/cli.c
r9656 r9851 33 33 #include <libtransmission/makemeta.h> 34 34 #include <libtransmission/tr-getopt.h> 35 #include <libtransmission/utils.h> /* tr_wait */35 #include <libtransmission/utils.h> /* tr_wait_msec */ 36 36 #include <libtransmission/version.h> 37 37 #include <libtransmission/web.h> /* tr_webRun */ … … 366 366 while( !b->isDone ) 367 367 { 368 tr_wait ( 1000 );368 tr_wait_msec( 1000 ); 369 369 printf( "." ); 370 370 } … … 386 386 tr_webRun( h, torrentPath, NULL, onTorrentFileDownloaded, ctor ); 387 387 waitingOnWeb = TRUE; 388 while( waitingOnWeb ) tr_wait ( 1000 );388 while( waitingOnWeb ) tr_wait_msec( 1000 ); 389 389 } 390 390 tr_free( fileContents ); … … 422 422 423 423 while( leftToScrape > 0 && ( ( time( NULL ) - start ) < 20 ) ) 424 tr_wait ( 250 );424 tr_wait_msec( 250 ); 425 425 } 426 426 goto cleanup; … … 471 471 "Error:" }; 472 472 473 tr_wait ( 200 );473 tr_wait_msec( 200 ); 474 474 475 475 if( gotsig ) -
trunk/daemon/daemon.c
r9671 r9851 418 418 419 419 while( !closing ) { 420 tr_wait ( 1000 ); /* sleep one second */420 tr_wait_msec( 1000 ); /* sleep one second */ 421 421 dtr_watchdir_update( watchdir ); 422 422 pumpLogMessages( foreground ); -
trunk/daemon/remote.c
r9682 r9851 1470 1470 int e; 1471 1471 for( e=0; i<j && e<8; ++e, ++i ) 1472 printf( str[k] & (1<<(7-e)) ? "1" : "0");1472 printf( "%c", str[k] & (1<<(7-e)) ? '1' : '0' ); 1473 1473 printf( " " ); 1474 1474 if( !(i%64) )
Note: See TracChangeset
for help on using the changeset viewer.