rename short variable and reformat, OCLint
This commit is contained in:
parent
cd5112ab0e
commit
fee83fee40
@ -269,13 +269,16 @@ RequestParser::consume(Request &req, char input, http::CompressionType *compress
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool RequestParser::isChar(int c) { return c >= 0 && c <= 127; }
|
inline bool RequestParser::isChar(int character) { return character >= 0 && character <= 127; }
|
||||||
|
|
||||||
inline bool RequestParser::isCTL(int c) { return (c >= 0 && c <= 31) || (c == 127); }
|
inline bool RequestParser::isCTL(int character)
|
||||||
|
|
||||||
inline bool RequestParser::isTSpecial(int c)
|
|
||||||
{
|
{
|
||||||
switch (c)
|
return (character >= 0 && character <= 31) || (character == 127);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline bool RequestParser::isTSpecial(int character)
|
||||||
|
{
|
||||||
|
switch (character)
|
||||||
{
|
{
|
||||||
case '(':
|
case '(':
|
||||||
case ')':
|
case ')':
|
||||||
@ -302,5 +305,5 @@ inline bool RequestParser::isTSpecial(int c)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool RequestParser::isDigit(int c) { return c >= '0' && c <= '9'; }
|
inline bool RequestParser::isDigit(int character) { return character >= '0' && character <= '9'; }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user