Commit 2a95da6b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Code cleanup

parent b6d039e8
......@@ -57,11 +57,11 @@ static int nghttp2_session_is_incoming_concurrent_streams_max
}
/*
* Returns non-zero if |error| is non-fatal error.
* Returns non-zero if |lib_error| is non-fatal error.
*/
static int nghttp2_is_non_fatal(int error)
static int nghttp2_is_non_fatal(int lib_error)
{
return error < 0 && error > NGHTTP2_ERR_FATAL;
return lib_error < 0 && lib_error > NGHTTP2_ERR_FATAL;
}
int nghttp2_is_fatal(int lib_error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment