aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/balloc/malloc-info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/balloc/malloc-info.cpp')
-rw-r--r--library/cpp/balloc/malloc-info.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/balloc/malloc-info.cpp b/library/cpp/balloc/malloc-info.cpp
index 604b1fb145..2fcebf7f81 100644
--- a/library/cpp/balloc/malloc-info.cpp
+++ b/library/cpp/balloc/malloc-info.cpp
@@ -5,18 +5,18 @@
using namespace NMalloc;
extern "C" void DisableBalloc();
-extern "C" void EnableBalloc();
+extern "C" void EnableBalloc();
extern "C" bool BallocDisabled();
namespace {
bool SetAllocParam(const char* name, const char* value) {
if (strcmp(name, "disable") == 0) {
if (value == nullptr || strcmp(value, "false") != 0) {
- // all values other than "false" are considred to be "true" for compatibility
- DisableBalloc();
- } else {
- EnableBalloc();
- }
+ // all values other than "false" are considred to be "true" for compatibility
+ DisableBalloc();
+ } else {
+ EnableBalloc();
+ }
return true;
}
return false;