Parcourir la source

connection.c: cosmetics

Evgeny Grin (Karlson2k) il y a 3 ans
Parent
commit
42be9415cb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/microhttpd/connection.c

+ 1 - 1
src/microhttpd/connection.c

@@ -3152,7 +3152,7 @@ parse_http_version (struct MHD_Connection *connection,
   /* String must start with 'HTTP/d.d', case-sensetive match.
    * See https://www.rfc-editor.org/rfc/rfc9112#name-http-version */
   if ((HTTP_VER_LEN != len) ||
-      ('H' != h[0] ) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) ||
+      ('H' != h[0]) || ('T' != h[1]) || ('T' != h[2]) || ('P' != h[3]) ||
       ('/' != h[4])
       || ('.' != h[6]) ||
       (('0' > h[5]) || ('9' < h[5])) ||