clang-format-5.0

This commit is contained in:
Tatsuhiro Tsujikawa
2017-11-23 14:19:12 +09:00
parent fee3151fd2
commit ff200bfcf3
33 changed files with 167 additions and 154 deletions

View File

@@ -267,8 +267,10 @@ static void run_nghttp2_session_recv(void) {
nghttp2_frame frame;
nghttp2_bufs bufs;
nghttp2_nv nv[] = {
MAKE_NV(":method", "GET"), MAKE_NV(":scheme", "https"),
MAKE_NV(":authority", "example.org"), MAKE_NV(":path", "/"),
MAKE_NV(":method", "GET"),
MAKE_NV(":scheme", "https"),
MAKE_NV(":authority", "example.org"),
MAKE_NV(":path", "/"),
};
nghttp2_settings_entry iv[2];
my_user_data ud;

View File

@@ -81,8 +81,10 @@ typedef struct {
} my_user_data;
static const nghttp2_nv reqnv[] = {
MAKE_NV(":method", "GET"), MAKE_NV(":path", "/"),
MAKE_NV(":scheme", "https"), MAKE_NV(":authority", "localhost"),
MAKE_NV(":method", "GET"),
MAKE_NV(":path", "/"),
MAKE_NV(":scheme", "https"),
MAKE_NV(":authority", "localhost"),
};
static const nghttp2_nv resnv[] = {
@@ -5876,9 +5878,8 @@ void test_nghttp2_submit_altsvc(void) {
len = nghttp2_session_mem_send(session, &data);
CU_ASSERT(len ==
NGHTTP2_FRAME_HDLEN + 2 + sizeof(origin) - 1 + sizeof(field_value) -
1);
CU_ASSERT(len == NGHTTP2_FRAME_HDLEN + 2 + sizeof(origin) - 1 +
sizeof(field_value) - 1);
nghttp2_frame_unpack_frame_hd(&hd, data);