diff options
author | Loïc Hoguin <[email protected]> | 2014-10-03 18:11:29 +0300 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-10-03 18:11:29 +0300 |
commit | 8e17d492b377cbf2eaf0d191b1e8636ea06c806a (patch) | |
tree | 29bde6e58fb011e6ab6b996ac2f14b2812e830f2 | |
parent | 403895a6412001e30a09010d33e4c266bdb4fd09 (diff) | |
download | cowboy-8e17d492b377cbf2eaf0d191b1e8636ea06c806a.tar.gz cowboy-8e17d492b377cbf2eaf0d191b1e8636ea06c806a.tar.bz2 cowboy-8e17d492b377cbf2eaf0d191b1e8636ea06c806a.zip |
Fix a compile issue caused by a warning
-rw-r--r-- | src/cowboy_protocol.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_protocol.erl b/src/cowboy_protocol.erl index 8763baa..00f8ba8 100644 --- a/src/cowboy_protocol.erl +++ b/src/cowboy_protocol.erl @@ -172,7 +172,7 @@ parse_method(<< C, Rest/bits >>, State, SoFar) -> parse_uri(<< $\r, _/bits >>, State, _) -> error_terminate(400, State); -parse_uri(<< $\s, _/bits >>, State, Method) -> +parse_uri(<< $\s, _/bits >>, State, _) -> error_terminate(400, State); parse_uri(<< "* ", Rest/bits >>, State, Method) -> parse_version(Rest, State, Method, <<"*">>, <<>>); |