瀏覽代碼

clang fmt

ncteisen 8 年之前
父節點
當前提交
e128e837f0
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/core/ext/transport/chttp2/transport/frame_rst_stream.c

+ 3 - 4
src/core/ext/transport/chttp2/transport/frame_rst_stream.c

@@ -110,11 +110,10 @@ grpc_error *grpc_chttp2_rst_stream_parser_parse(grpc_exec_ctx *exec_ctx,
     grpc_error *error = GRPC_ERROR_NONE;
     if (reason != GRPC_HTTP2_NO_ERROR || s->header_frames_received < 2) {
       char *message;
-      gpr_asprintf(&message, "Received RST_STREAM with error code %d",
-                   reason);
+      gpr_asprintf(&message, "Received RST_STREAM with error code %d", reason);
       error = grpc_error_set_int(
-          grpc_error_set_str(GRPC_ERROR_CREATE("RST_STREAM"), 
-                            GRPC_ERROR_STR_GRPC_MESSAGE, message),
+          grpc_error_set_str(GRPC_ERROR_CREATE("RST_STREAM"),
+                             GRPC_ERROR_STR_GRPC_MESSAGE, message),
           GRPC_ERROR_INT_HTTP2_ERROR, (intptr_t)reason);
       gpr_free(message);
     }