Deprecate zeekenv() and use getenv() directly

This commit is contained in:
Jon Siwek 2021-01-29 16:52:02 -08:00
parent 79f9979f80
commit b8c563dbdd
11 changed files with 24 additions and 45 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";