Browse Source

Code and comments minor fixes

Evgeny Grin (Karlson2k) 4 năm trước cách đây
mục cha
commit
f33328efab

+ 1 - 1
src/microhttpd/connection.c

@@ -2155,7 +2155,7 @@ parse_cookie_header (struct MHD_Connection *connection)
  */
  */
 static enum MHD_Result
 static enum MHD_Result
 parse_http_version (struct MHD_Connection *connection,
 parse_http_version (struct MHD_Connection *connection,
-                    const char*http_string,
+                    const char *http_string,
                     size_t len)
                     size_t len)
 {
 {
   const char *const h = http_string; /**< short alias */
   const char *const h = http_string; /**< short alias */

+ 0 - 1
src/microhttpd/internal.h

@@ -766,7 +766,6 @@ enum MHD_HTTP_version
 
 
   /**
   /**
    * HTTP future version. Unsupported.
    * HTTP future version. Unsupported.
-   * Reserved, not really detected.
    */
    */
   MHD_HTTP_VER_FUTURE = 100
   MHD_HTTP_VER_FUTURE = 100
 };
 };