mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Compile fix.
This commit is contained in:
parent
b91b62b2b1
commit
5efce5c7e4
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
|
||||||
if ( is_file(magic) )
|
if ( is_file(magic) )
|
||||||
{
|
{
|
||||||
// It's a plugin, get it's name.
|
// It's a plugin, get it's name.
|
||||||
std::ifstream in(magic);
|
std::ifstream in(magic.c_str());
|
||||||
|
|
||||||
if ( in.fail() )
|
if ( in.fail() )
|
||||||
reporter->FatalError("cannot open plugin magic file %s", magic.c_str());
|
reporter->FatalError("cannot open plugin magic file %s", magic.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue