mirror of
https://github.com/transmission/transmission
synced 2025-03-16 16:55:36 +00:00
(trunk libT) a debugging message was accidenally being dumped to the terminal. Reported by ubuntuforums user "Nevermor7" in <http://ubuntuforums.org/showpost.php?p=7743702&postcount=1>
This commit is contained in:
parent
d85d269a80
commit
14dfd896ba
1 changed files with 5 additions and 4 deletions
|
@ -1869,10 +1869,11 @@ tr_torrentReqIsValid( const tr_torrent * tor,
|
|||
else if( tr_pieceOffset( tor, index, offset, length ) > tor->info.totalSize )
|
||||
err = 5;
|
||||
|
||||
if( err ) fprintf( stderr, "index %lu offset %lu length %lu err %d\n",
|
||||
(unsigned long)index, (unsigned long)offset,
|
||||
(unsigned long)length,
|
||||
err );
|
||||
if( err ) tr_tordbg( tor, "index %lu offset %lu length %lu err %d\n",
|
||||
(unsigned long)index,
|
||||
(unsigned long)offset,
|
||||
(unsigned long)length,
|
||||
err );
|
||||
|
||||
return !err;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue