clang-format

This commit is contained in:
Tatsuhiro Tsujikawa 2020-06-05 23:16:01 +09:00
parent 6d7f1256de
commit ab11b2bba5
1 changed files with 2 additions and 2 deletions

View File

@ -7458,8 +7458,8 @@ static int nghttp2_session_upgrade_internal(nghttp2_session *session,
return NGHTTP2_ERR_INVALID_ARGUMENT; return NGHTTP2_ERR_INVALID_ARGUMENT;
} }
/* SETTINGS frame contains too many settings */ /* SETTINGS frame contains too many settings */
if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH if (settings_payloadlen / NGHTTP2_FRAME_SETTINGS_ENTRY_LENGTH >
> session->max_settings) { session->max_settings) {
return NGHTTP2_ERR_TOO_MANY_SETTINGS; return NGHTTP2_ERR_TOO_MANY_SETTINGS;
} }
rv = nghttp2_frame_unpack_settings_payload2(&iv, &niv, settings_payload, rv = nghttp2_frame_unpack_settings_payload2(&iv, &niv, settings_payload,