diff options
-rw-r--r-- | src/core/ext/transport/chttp2/transport/chttp2_transport.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc index caf01c7e4a..c13c4056c1 100644 --- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc @@ -517,10 +517,9 @@ static void init_transport(grpc_chttp2_transport* t, if (flow_control_enabled == -1) { char* env_variable = gpr_getenv("GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL"); - if (env_variable != nullptr){ + if (env_variable != nullptr) { flow_control_enabled = 0; - } - else { + } else { flow_control_enabled = 1; } gpr_free(env_variable); |