yhirose 2 mesiacov pred
rodič
commit
27b73f050e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -2931,7 +2931,7 @@ inline bool is_field_value(const std::string &s) { return is_field_content(s); }
 namespace detail {
 
 inline bool is_hex(char c, int &v) {
-  if (0x20 <= c && isdigit(c)) {
+  if (isdigit(c)) {
     v = c - '0';
     return true;
   } else if ('A' <= c && c <= 'F') {