aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-05-18 18:00:37 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2017-05-18 18:00:37 -0700
commit01635d1ea85fec4bec5e1f161a1f2cb56604bd46 (patch)
treea2e44e311ce4b1b2171d33578206b7bafe89b68e
parente6bf7d054cadd008aa2edbedcaa7963aedb91dcd (diff)
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);
}