mollify a noisy debugging message
This commit is contained in:
parent
fcd4aa25e8
commit
8bc02db55e
|
@ -315,7 +315,6 @@ tr_fdFileClose( const char * filename )
|
|||
{
|
||||
int i;
|
||||
tr_lockLock( gFd->lock );
|
||||
dbgmsg( "tr_fdFileClose closing '%s'", filename );
|
||||
|
||||
for( i=0; i<TR_MAX_OPEN_FILES; ++i )
|
||||
{
|
||||
|
@ -323,6 +322,8 @@ tr_fdFileClose( const char * filename )
|
|||
if( !fileIsOpen(o) || strcmp(filename,o->filename) )
|
||||
continue;
|
||||
|
||||
dbgmsg( "tr_fdFileClose closing '%s'", filename );
|
||||
|
||||
if( !o->isCheckedOut ) {
|
||||
dbgmsg( "not checked out, so closing it now... '%s'", filename );
|
||||
TrCloseFile( i );
|
||||
|
|
Loading…
Reference in New Issue