Skip to content
Snippets Groups Projects
Commit e128e837 authored by ncteisen's avatar ncteisen
Browse files

clang fmt

parent 0a8e32ab
No related branches found
No related tags found
No related merge requests found
...@@ -110,11 +110,10 @@ grpc_error *grpc_chttp2_rst_stream_parser_parse(grpc_exec_ctx *exec_ctx, ...@@ -110,11 +110,10 @@ grpc_error *grpc_chttp2_rst_stream_parser_parse(grpc_exec_ctx *exec_ctx,
grpc_error *error = GRPC_ERROR_NONE; grpc_error *error = GRPC_ERROR_NONE;
if (reason != GRPC_HTTP2_NO_ERROR || s->header_frames_received < 2) { if (reason != GRPC_HTTP2_NO_ERROR || s->header_frames_received < 2) {
char *message; char *message;
gpr_asprintf(&message, "Received RST_STREAM with error code %d", gpr_asprintf(&message, "Received RST_STREAM with error code %d", reason);
reason);
error = grpc_error_set_int( error = grpc_error_set_int(
grpc_error_set_str(GRPC_ERROR_CREATE("RST_STREAM"), grpc_error_set_str(GRPC_ERROR_CREATE("RST_STREAM"),
GRPC_ERROR_STR_GRPC_MESSAGE, message), GRPC_ERROR_STR_GRPC_MESSAGE, message),
GRPC_ERROR_INT_HTTP2_ERROR, (intptr_t)reason); GRPC_ERROR_INT_HTTP2_ERROR, (intptr_t)reason);
gpr_free(message); gpr_free(message);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment