mollify a noisy debugging message

This commit is contained in:
Charles Kerr 2008-01-08 20:08:45 +00:00
parent fcd4aa25e8
commit 8bc02db55e
1 changed files with 2 additions and 1 deletions

View File

@ -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 );