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 };