Skip to content

Commit

Permalink
fix fclose
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jan 16, 2011
1 parent 7a1c5d3 commit 006f2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,10 +432,10 @@ namespace mongo {
num++;

m.hit( o.objsize() );

fclose( file );
}

fclose( file );

uassert( 10265 , "counts don't match" , m.done() == fileLength );
out() << "\t " << m.hits() << " objects found" << endl;
if ( _matcher.get() )
Expand Down

0 comments on commit 006f2cd

Please sign in to comment.