diff options
| author | Arslan Urtashev <[email protected]> | 2022-02-10 16:48:55 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:48:55 +0300 | 
| commit | b97740540e7302cec9efa181e106ae1990a0cc1c (patch) | |
| tree | 1a2a0bfe523c3272d207e2d75254a41d3945a3bb /util/system/env.cpp | |
| parent | 31789673dc3562bc7540e00fe031ba84ae282c24 (diff) | |
Restoring authorship annotation for Arslan Urtashev <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/env.cpp')
| -rw-r--r-- | util/system/env.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/util/system/env.cpp b/util/system/env.cpp index ead9b566a5f..19d570532a4 100644 --- a/util/system/env.cpp +++ b/util/system/env.cpp @@ -26,9 +26,9 @@ TString GetEnv(const TString& key, const TString& def) {      size_t len = GetEnvironmentVariableA(key.data(), nullptr, 0);      if (len == 0) { -        if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) { -            return def; -        } +        if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) {  +            return def;  +        }           return TString{};      } | 
