Skip to content

Commit 27b73f0

Browse files
committed
Fix #2287
1 parent dbd5ca4 commit 27b73f0

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
@@ -2931,7 +2931,7 @@ inline bool is_field_value(const std::string &s) { return is_field_content(s); }
29312931
namespace detail {
29322932

29332933
inline bool is_hex(char c, int &v) {
2934-
if (0x20 <= c && isdigit(c)) {
2934+
if (isdigit(c)) {
29352935
v = c - '0';
29362936
return true;
29372937
} else if ('A' <= c && c <= 'F') {

0 commit comments

Comments
 (0)