(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
|
@ -1869,10 +1869,11 @@ tr_torrentReqIsValid( const tr_torrent * tor,
|
||||||
else if( tr_pieceOffset( tor, index, offset, length ) > tor->info.totalSize )
|
else if( tr_pieceOffset( tor, index, offset, length ) > tor->info.totalSize )
|
||||||
err = 5;
|
err = 5;
|
||||||
|
|
||||||
if( err ) fprintf( stderr, "index %lu offset %lu length %lu err %d\n",
|
if( err ) tr_tordbg( tor, "index %lu offset %lu length %lu err %d\n",
|
||||||
(unsigned long)index, (unsigned long)offset,
|
(unsigned long)index,
|
||||||
(unsigned long)length,
|
(unsigned long)offset,
|
||||||
err );
|
(unsigned long)length,
|
||||||
|
err );
|
||||||
|
|
||||||
return !err;
|
return !err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue