make clang-format
This commit is contained in:
parent
fcc20334da
commit
977b0ceee4
|
@ -362,12 +362,10 @@ int nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream,
|
||||||
|
|
||||||
if (nv->token == NGHTTP2_TOKEN__METHOD) {
|
if (nv->token == NGHTTP2_TOKEN__METHOD) {
|
||||||
rv = nghttp2_check_method(nv->value->base, nv->value->len);
|
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);
|
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) {
|
||||||
nv->token == NGHTTP2_TOKEN_HOST) {
|
|
||||||
rv = nghttp2_check_authority(nv->value->base, nv->value->len);
|
rv = nghttp2_check_authority(nv->value->base, nv->value->len);
|
||||||
} else if (nv->token == NGHTTP2_TOKEN__SCHEME) {
|
} else if (nv->token == NGHTTP2_TOKEN__SCHEME) {
|
||||||
rv = check_scheme(nv->value->base, nv->value->len);
|
rv = check_scheme(nv->value->base, nv->value->len);
|
||||||
|
|
Loading…
Reference in New Issue