aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/bad_client
diff options
context:
space:
mode:
authorGravatar Julien Boeuf <jboeuf@google.com>2015-06-29 19:25:32 +0200
committerGravatar Julien Boeuf <jboeuf@google.com>2015-06-29 19:25:32 +0200
commitda13cd201be1ed4bfa69ce061e4ccb843f5feb4f (patch)
tree0a527e75dd4f7b82c7413adb59d9aea9e0d3c035 /test/core/bad_client
parentabc09d8b12cde320e13f02db19cc27e6be3602c9 (diff)
Adding gpr_dump and gpr_hexdump as discussed. Removed gpr_slice_to_cstring as well.
Diffstat (limited to 'test/core/bad_client')
-rw-r--r--test/core/bad_client/bad_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/bad_client/bad_client.c b/test/core/bad_client/bad_client.c
index e9adcf34c7..2590d4dc4b 100644
--- a/test/core/bad_client/bad_client.c
+++ b/test/core/bad_client/bad_client.c
@@ -83,8 +83,8 @@ void grpc_run_bad_client_test(grpc_bad_client_server_side_validator validator,
gpr_slice slice =
gpr_slice_from_copied_buffer(client_payload, client_payload_length);
- hex =
- gpr_hexdump(client_payload, client_payload_length, GPR_HEXDUMP_PLAINTEXT);
+ hex = gpr_dump(client_payload, client_payload_length,
+ GPR_DUMP_HEX | GPR_DUMP_ASCII);
/* Add a debug log */
gpr_log(GPR_INFO, "TEST: %s", hex);