Merge pull request #7014 from ctiller/fix_tracing

Re-enable accidentally disabled traces
pull/7035/merge
Jan Tattermusch 9 years ago committed by GitHub
commit 67ec53fe65
  1. 4
      src/core/lib/iomgr/tcp_posix.c

@ -160,7 +160,7 @@ static void call_read_cb(grpc_exec_ctx *exec_ctx, grpc_tcp *tcp,
grpc_error *error) {
grpc_closure *cb = tcp->read_cb;
if (false && grpc_tcp_trace) {
if (grpc_tcp_trace) {
size_t i;
const char *str = grpc_error_string(error);
gpr_log(GPR_DEBUG, "read: error=%s", str);
@ -394,7 +394,7 @@ static void tcp_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep,
grpc_tcp *tcp = (grpc_tcp *)ep;
grpc_error *error = GRPC_ERROR_NONE;
if (false && grpc_tcp_trace) {
if (grpc_tcp_trace) {
size_t i;
for (i = 0; i < buf->count; i++) {

Loading…
Cancel
Save