mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Restore globally-namespaced plugin_mgr variable, move zeek::plugin::plugin_mgr to zeek::plugin_mgr
This commit is contained in:
parent
9400b863ea
commit
834b76f94f
7 changed files with 35 additions and 29 deletions
|
@ -54,7 +54,7 @@ static string RemoveLeadingSpace(const string& s)
|
|||
// use for indexing.
|
||||
static string NormalizeScriptPath(const string& path)
|
||||
{
|
||||
if ( auto p = plugin_mgr->LookupPluginByPath(path) )
|
||||
if ( auto p = zeek::plugin_mgr->LookupPluginByPath(path) )
|
||||
{
|
||||
auto rval = normalize_path(path);
|
||||
auto prefix = SafeBasename(p->PluginDirectory()).result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue