diff --git a/src/File.cc b/src/File.cc index a57147d923..d2b9381ca0 100644 --- a/src/File.cc +++ b/src/File.cc @@ -195,10 +195,9 @@ bool BroFile::Open(FILE* file) InstallRotateTimer(); if ( ! f ) - { f = fopen(name, access); - SetBuf(buffered); - } + + SetBuf(buffered); if ( f ) {