aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-30 22:24:08 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-05-30 22:24:08 +0300
commitf33328efaba8992b3095a68711d2f528dac126fb (patch)
treed8fc7132e3854b802ce49cc0f16f89a0bfb9b05e
parent23943a2da6f27050c21edc709a12acc7625596a9 (diff)
downloadlibmicrohttpd-f33328efaba8992b3095a68711d2f528dac126fb.tar.gz
libmicrohttpd-f33328efaba8992b3095a68711d2f528dac126fb.zip
Code and comments minor fixes
-rw-r--r--src/microhttpd/connection.c2
-rw-r--r--src/microhttpd/internal.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 4bbe2683..938031c4 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2155,7 +2155,7 @@ parse_cookie_header (struct MHD_Connection *connection)
2155 */ 2155 */
2156static enum MHD_Result 2156static enum MHD_Result
2157parse_http_version (struct MHD_Connection *connection, 2157parse_http_version (struct MHD_Connection *connection,
2158 const char*http_string, 2158 const char *http_string,
2159 size_t len) 2159 size_t len)
2160{ 2160{
2161 const char *const h = http_string; /**< short alias */ 2161 const char *const h = http_string; /**< short alias */
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index e684aa88..aa4986a2 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -766,7 +766,6 @@ enum MHD_HTTP_version
766 766
767 /** 767 /**
768 * HTTP future version. Unsupported. 768 * HTTP future version. Unsupported.
769 * Reserved, not really detected.
770 */ 769 */
771 MHD_HTTP_VER_FUTURE = 100 770 MHD_HTTP_VER_FUTURE = 100
772}; 771};