mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Deprecate zeekenv() and use getenv() directly
This commit is contained in:
parent
79f9979f80
commit
b8c563dbdd
11 changed files with 24 additions and 45 deletions
|
@ -39,7 +39,7 @@ void ScriptCoverageManager::AddStmt(Stmt* s)
|
|||
|
||||
bool ScriptCoverageManager::ReadStats()
|
||||
{
|
||||
char* bf = util::zeekenv("ZEEK_PROFILER_FILE");
|
||||
char* bf = getenv("ZEEK_PROFILER_FILE");
|
||||
|
||||
if ( ! bf )
|
||||
return false;
|
||||
|
@ -89,7 +89,7 @@ bool ScriptCoverageManager::ReadStats()
|
|||
|
||||
bool ScriptCoverageManager::WriteStats()
|
||||
{
|
||||
char* bf = util::zeekenv("ZEEK_PROFILER_FILE");
|
||||
char* bf = getenv("ZEEK_PROFILER_FILE");
|
||||
|
||||
if ( ! bf )
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue