From 069909ccf41d501f4635071f43a2a433de90026b Mon Sep 17 00:00:00 2001 From: ncteisen Date: Fri, 2 Nov 2018 14:27:57 -0400 Subject: [PATCH] Use correct macro --- src/core/ext/transport/chttp2/server/chttp2_server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ext/transport/chttp2/server/chttp2_server.cc b/src/core/ext/transport/chttp2/server/chttp2_server.cc index cad71daf6ef..33d2b22aa58 100644 --- a/src/core/ext/transport/chttp2/server/chttp2_server.cc +++ b/src/core/ext/transport/chttp2/server/chttp2_server.cc @@ -366,7 +366,7 @@ grpc_error* grpc_chttp2_server_add_port(grpc_server* server, const char* addr, grpc_resolved_addresses_destroy(resolved); arg = grpc_channel_args_find(args, GRPC_ARG_ENABLE_CHANNELZ); - if (grpc_channel_arg_get_bool(arg, false)) { + if (grpc_channel_arg_get_bool(arg, GRPC_ENABLE_CHANNELZ_DEFAULT)) { state->channelz_listen_socket = grpc_core::MakeRefCounted( grpc_core::UniquePtr(gpr_strdup(addr)));