diff options
author | Mehrdad Afshari <mmx@google.com> | 2017-11-29 11:01:36 -0800 |
---|---|---|
committer | Mehrdad Afshari <mmx@google.com> | 2017-11-29 11:01:36 -0800 |
commit | d49e100354dbaa580afc46a5ebd0d56ffb85d566 (patch) | |
tree | 752e4138593be9f4d8df36601697eacf2f42c1c3 /src/core | |
parent | 361f8108e41497c53f174c0ad6ea0ffcc97022a9 (diff) |
clang-format code
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lib/support/fork.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/support/fork.cc b/src/core/lib/support/fork.cc index 2f29af899d..d59ca5584c 100644 --- a/src/core/lib/support/fork.cc +++ b/src/core/lib/support/fork.cc @@ -38,9 +38,9 @@ void grpc_fork_support_init() { fork_support_enabled = 1; #else fork_support_enabled = 0; - char *env = gpr_getenv("GRPC_ENABLE_FORK_SUPPORT"); + char* env = gpr_getenv("GRPC_ENABLE_FORK_SUPPORT"); if (env != NULL) { - static const char *truthy[] = {"yes", "Yes", "YES", "true", + static const char* truthy[] = {"yes", "Yes", "YES", "true", "True", "TRUE", "1"}; for (size_t i = 0; i < GPR_ARRAY_SIZE(truthy); i++) { if (0 == strcmp(env, truthy[i])) { |