mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fixes MSVC++ C4800 error (converting char to bool)
This commit is contained in:
@@ -62,7 +62,7 @@ namespace http {
|
||||
};
|
||||
|
||||
inline bool is_token_char(unsigned char c) {
|
||||
return HEADER_TOKEN[c];
|
||||
return (HEADER_TOKEN[c] == 1);
|
||||
}
|
||||
|
||||
inline bool is_not_token_char(unsigned char c) {
|
||||
|
||||
Reference in New Issue
Block a user