From f33328efaba8992b3095a68711d2f528dac126fb Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 30 May 2021 22:24:08 +0300 Subject: [PATCH] Code and comments minor fixes --- src/microhttpd/connection.c | 2 +- src/microhttpd/internal.h | 1 - 2 files changed, 1 insertion(+), 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) */ static enum MHD_Result parse_http_version (struct MHD_Connection *connection, - const char*http_string, + const char *http_string, size_t len) { 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 /** * HTTP future version. Unsupported. - * Reserved, not really detected. */ MHD_HTTP_VER_FUTURE = 100 };