mirror of
https://github.com/transmission/transmission
synced 2025-02-05 14:04:15 +00:00
and, removing a couple of fprintfs
This commit is contained in:
parent
05bcd5e01c
commit
0000a96f78
1 changed files with 0 additions and 2 deletions
|
@ -562,7 +562,6 @@ fastResumeLoadImpl ( tr_torrent * tor,
|
||||||
/* read each block of data */
|
/* read each block of data */
|
||||||
while( 1 == fread( &id, 1, 1, file ) && 1 == fread( &len, 4, 1, file ) )
|
while( 1 == fread( &id, 1, 1, file ) && 1 == fread( &len, 4, 1, file ) )
|
||||||
{
|
{
|
||||||
fprintf( stderr, "reading id %d\n", (int)id );
|
|
||||||
switch( id )
|
switch( id )
|
||||||
{
|
{
|
||||||
case FR_ID_PROGRESS:
|
case FR_ID_PROGRESS:
|
||||||
|
@ -745,7 +744,6 @@ fprintf( stderr, "reading id %d\n", (int)id );
|
||||||
tr_inf( "Skipping resume data type %02x, %u bytes", id, len );
|
tr_inf( "Skipping resume data type %02x, %u bytes", id, len );
|
||||||
fseek( file, len, SEEK_CUR );
|
fseek( file, len, SEEK_CUR );
|
||||||
}
|
}
|
||||||
fprintf( stderr, "\n\n" );
|
|
||||||
|
|
||||||
fclose( file );
|
fclose( file );
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue