Changeset 5757
- Timestamp:
- May 6, 2008, 4:32:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cli/transmissioncli.c
r5675 r5757 244 244 if( showScrape ) 245 245 { 246 const struct tr_stat * stats; 247 const uint64_t start = tr_date( ); 246 248 printf( "Scraping, Please wait...\n" ); 247 const tr_stat * stats;248 249 uint64_t start = tr_date();250 249 251 250 do 252 251 { 253 252 stats = tr_torrentStat( tor ); 254 if( stats == NULL|| tr_date() - start > 20000 )253 if( !stats || tr_date() - start > 20000 ) 255 254 { 256 255 printf( "Scrape failed.\n" ); … … 277 276 char string[LINEWIDTH]; 278 277 int chars = 0; 279 const tr_stat * s;278 const struct tr_stat * s; 280 279 281 280 tr_wait( 1000 );
Note: See TracChangeset
for help on using the changeset viewer.