aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-02-14 17:50:49 +0100
committerLoïc Hoguin <[email protected]>2013-02-14 17:50:49 +0100
commit0218249c2178db75dc2f592dbe6d0a92160f204a (patch)
tree83463b78f071e378fefa49789e52664266cf470b /src/cowboy_http.erl
parent46cce4814390a2917563ce7af82e0e1bbfc81ed3 (diff)
parent7f0c6bbb391280b8f8f35ad88ba79344deba9402 (diff)
downloadcowboy-0218249c2178db75dc2f592dbe6d0a92160f204a.tar.gz
cowboy-0218249c2178db75dc2f592dbe6d0a92160f204a.tar.bz2
cowboy-0218249c2178db75dc2f592dbe6d0a92160f204a.zip
Merge branch 'native_compile' of git://github.com/acammack/cowboy
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r--src/cowboy_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index f3ff687..1d19838 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -123,7 +123,7 @@ cookie_list(Data, Acc) ->
(<< $,, Rest/binary >>) -> cookie_list(Rest, Acc);
(<< $;, Rest/binary >>) -> cookie_list(Rest, Acc);
(Rest) -> cookie(Rest,
- fun (Rest2, << $$, _/bits >>, _) ->
+ fun (Rest2, << $$, _/binary >>, _) ->
cookie_list(Rest2, Acc);
(Rest2, Name, Value) ->
cookie_list(Rest2, [{Name, Value}|Acc])