diff options
author | Craig Tiller <ctiller@google.com> | 2016-10-26 16:25:56 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-10-26 16:25:56 -0700 |
commit | 0f310807ffa59b3c8f0459c757372478d31c3c66 (patch) | |
tree | b29574e6dc1f7cdb7f545e6ee0258bdf6ce717e1 /src/core/ext/transport/chttp2/transport/frame_data.c | |
parent | c3350541e37144693da076b13d6ce5a3a3223564 (diff) |
Update includes, s/gpr_dump_slice/grpc_dump_slice/g
Diffstat (limited to 'src/core/ext/transport/chttp2/transport/frame_data.c')
-rw-r--r-- | src/core/ext/transport/chttp2/transport/frame_data.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/ext/transport/chttp2/transport/frame_data.c b/src/core/ext/transport/chttp2/transport/frame_data.c index 3081a03929..5700a01a9a 100644 --- a/src/core/ext/transport/chttp2/transport/frame_data.c +++ b/src/core/ext/transport/chttp2/transport/frame_data.c @@ -40,6 +40,7 @@ #include <grpc/support/string_util.h> #include <grpc/support/useful.h> #include "src/core/ext/transport/chttp2/transport/internal.h" +#include "src/core/lib/slice/slice_string_helpers.h" #include "src/core/lib/support/string.h" #include "src/core/lib/transport/transport.h" @@ -176,7 +177,7 @@ static grpc_error *parse_inner(grpc_exec_ctx *exec_ctx, p->error = grpc_error_set_int(p->error, GRPC_ERROR_INT_STREAM_ID, (intptr_t)s->id); gpr_free(msg); - msg = gpr_dump_slice(slice, GPR_DUMP_HEX | GPR_DUMP_ASCII); + msg = grpc_dump_slice(slice, GPR_DUMP_HEX | GPR_DUMP_ASCII); p->error = grpc_error_set_str(p->error, GRPC_ERROR_STR_RAW_BYTES, msg); gpr_free(msg); @@ -247,7 +248,7 @@ static grpc_error *parse_inner(grpc_exec_ctx *exec_ctx, grpc_chttp2_incoming_byte_stream_push( exec_ctx, p->parsing_frame, grpc_slice_sub(slice, (size_t)(cur - beg), - (size_t)(cur + p->frame_size - beg))); + (size_t)(cur + p->frame_size - beg))); grpc_chttp2_incoming_byte_stream_finished(exec_ctx, p->parsing_frame, GRPC_ERROR_NONE); p->parsing_frame = NULL; |