Merge remote-tracking branch 'origin/topic/jsiwek/deprecate-zeekenv'

* origin/topic/jsiwek/deprecate-zeekenv:
  Deprecate zeekenv() and use getenv() directly
This commit is contained in:
Jon Siwek 2021-02-01 12:13:38 -08:00
commit dacdf5424b
13 changed files with 29 additions and 46 deletions

View file

@ -850,7 +850,7 @@ void Ascii::RotateLeftoverLogs()
string Ascii::LogExt()
{
const char* ext = util::zeekenv("ZEEK_LOG_SUFFIX");
const char* ext = getenv("ZEEK_LOG_SUFFIX");
if ( ! ext )
ext = "log";