Skip to content

Commit 5e14cda

Browse files
committed
Fix #2287
1 parent 33e0bbf commit 5e14cda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httplib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2937,7 +2937,7 @@ inline bool is_field_value(const std::string &s) { return is_field_content(s); }
29372937
namespace detail {
29382938

29392939
inline bool is_hex(char c, int &v) {
2940-
if (0x20 <= c && isdigit(c)) {
2940+
if (isdigit(c)) {
29412941
v = c - '0';
29422942
return true;
29432943
} else if ('A' <= c && c <= 'F') {

0 commit comments

Comments
 (0)