aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-05-18 18:28:20 -0700
committerGravatar GitHub <noreply@github.com>2017-05-18 18:28:20 -0700
commit9ea6d79474a2cc842b9a7a927dfc2b30d8373ae3 (patch)
treea2e44e311ce4b1b2171d33578206b7bafe89b68e
parente6bf7d054cadd008aa2edbedcaa7963aedb91dcd (diff)
parent01635d1ea85fec4bec5e1f161a1f2cb56604bd46 (diff)
Merge pull request #11235 from ncteisen/fix
Add trace protector to flag
-rw-r--r--src/core/ext/transport/chttp2/transport/chttp2_transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
index e3fb230069..f3268bcfca 100644
--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c
+++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
@@ -2168,7 +2168,7 @@ static void update_frame(grpc_exec_ctx *exec_ctx, grpc_chttp2_transport *t,
if (delta == 0 || (delta > -frame_size / 10 && delta < frame_size / 10)) {
return;
}
- if (grpc_bdp_estimator_trace) {
+ if (GRPC_TRACER_ON(grpc_bdp_estimator_trace)) {
gpr_log(GPR_DEBUG, "%s: update max_frame size to %d", t->peer_string,
(int)frame_size);
}