diff options
| author | ilnurkh <[email protected]> | 2023-10-11 11:37:11 +0300 |
|---|---|---|
| committer | ilnurkh <[email protected]> | 2023-10-11 12:38:46 +0300 |
| commit | 15c8576b07a44515322e3819b8936146cd72651e (patch) | |
| tree | e2ff70c0b674c710535cddbbde81cff645681d1f /library/cpp/logger | |
| parent | 373945556deb62b705de085fa701a0f0e44acd25 (diff) | |
Y_VERIFY->Y_ABORT_UNLESS tail2
https://clubs.at.yandex-team.ru/arcadia/29404
Diffstat (limited to 'library/cpp/logger')
| -rw-r--r-- | library/cpp/logger/global/rty_formater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/logger/global/rty_formater.cpp b/library/cpp/logger/global/rty_formater.cpp index 66657e71621..f5035650c7e 100644 --- a/library/cpp/logger/global/rty_formater.cpp +++ b/library/cpp/logger/global/rty_formater.cpp @@ -22,7 +22,7 @@ namespace { pos += strftime(pos, end - pos, "%Y-%m-%d %H:%M:%S.", &tm); pos += sprintf(pos, "%03" PRIu32, instant.MilliSecondsOfSecond()); pos += strftime(pos, end - pos, " %z", &tm); - Y_ABORT_UNLESS(LocalTimeSBufferSize - 1 == pos - begin); // together with Y_VERIFY above this also implies pos<=end + Y_ABORT_UNLESS(LocalTimeSBufferSize - 1 == pos - begin); // together with Y_ABORT_UNLESS above this also implies pos<=end return (pos - begin); } } |
