Skip to content

Commit

Permalink
Merge pull request grpc#7522 from makdharma/enable_secure_endpoint_trace
Browse files Browse the repository at this point in the history
removed hardcoded disable on logging
  • Loading branch information
nicolasnoble authored Aug 2, 2016
2 parents 6a4397e + 9be7391 commit e90671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/lib/security/transport/secure_endpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void flush_read_staging_buffer(secure_endpoint *ep, uint8_t **cur,

static void call_read_cb(grpc_exec_ctx *exec_ctx, secure_endpoint *ep,
grpc_error *error) {
if (false && grpc_trace_secure_endpoint) {
if (grpc_trace_secure_endpoint) {
size_t i;
for (i = 0; i < ep->read_buffer->count; i++) {
char *data = gpr_dump_slice(ep->read_buffer->slices[i],
Expand Down Expand Up @@ -256,7 +256,7 @@ static void endpoint_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *secure_ep,

gpr_slice_buffer_reset_and_unref(&ep->output_buffer);

if (false && grpc_trace_secure_endpoint) {
if (grpc_trace_secure_endpoint) {
for (i = 0; i < slices->count; i++) {
char *data =
gpr_dump_slice(slices->slices[i], GPR_DUMP_HEX | GPR_DUMP_ASCII);
Expand Down

0 comments on commit e90671e

Please sign in to comment.