Browse Source

Run clang-format (#2037)

Florian Albrechtskirchinger 10 months ago
parent
commit
9bbb4741b4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      httplib.h

+ 4 - 4
httplib.h

@@ -219,7 +219,7 @@ using socket_t = SOCKET;
 #include <pthread.h>
 #include <pthread.h>
 #include <sys/mman.h>
 #include <sys/mman.h>
 #ifndef __VMS
 #ifndef __VMS
-  #include <sys/select.h>
+#include <sys/select.h>
 #endif
 #endif
 #include <sys/socket.h>
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <sys/un.h>
@@ -4458,9 +4458,9 @@ bool read_content(Stream &strm, T &x, size_t payload_max_length, int &status,
           ret = read_content_without_length(strm, out);
           ret = read_content_without_length(strm, out);
         } else {
         } else {
           auto is_invalid_value = false;
           auto is_invalid_value = false;
-          auto len = get_header_value_u64(x.headers, "Content-Length",
-                                         (std::numeric_limits<uint64_t>::max)(),
-                                          0, is_invalid_value);
+          auto len = get_header_value_u64(
+              x.headers, "Content-Length",
+              (std::numeric_limits<uint64_t>::max)(), 0, is_invalid_value);
 
 
           if (is_invalid_value) {
           if (is_invalid_value) {
             ret = false;
             ret = false;