add-missing-fallthrough.patch 415 B

123456789101112131415
  1. Subject: Add missing/fix misspelt FALLTHROUGH marker
  2. Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
  3. Forwarded: https://github.com/nodejs/http-parser/issues/395
  4. --- a/http_parser.c
  5. +++ b/http_parser.c
  6. @@ -1815,7 +1815,7 @@
  7. case 2:
  8. parser->upgrade = 1;
  9. -
  10. + /* FALLTHROUGH */
  11. case 1:
  12. parser->flags |= F_SKIPBODY;
  13. break;