make clang-format

This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-04 17:27:43 +09:00
parent fcc20334da
commit 977b0ceee4
1 changed files with 3 additions and 5 deletions

View File

@ -362,11 +362,9 @@ int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream,
if (nv->token == NGHTTP2_TOKEN__METHOD) {
rv = nghttp2_check_method(nv->value->base, nv->value->len);
}
else if (nv->token == NGHTTP2_TOKEN__PATH) {
} else if (nv->token == NGHTTP2_TOKEN__PATH) {
rv = nghttp2_check_path(nv->value->base, nv->value->len);
}
else if (nv->token == NGHTTP2_TOKEN__AUTHORITY ||
} else if (nv->token == NGHTTP2_TOKEN__AUTHORITY ||
nv->token == NGHTTP2_TOKEN_HOST) {
rv = nghttp2_check_authority(nv->value->base, nv->value->len);
} else if (nv->token == NGHTTP2_TOKEN__SCHEME) {