aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http.erl
diff options
context:
space:
mode:
authorAdam Cammack <[email protected]>2013-02-09 15:32:13 -0600
committerAdam Cammack <[email protected]>2013-02-12 11:53:47 -0600
commitb903aca33d6bf4ea72cf1c84d515cd21aab46d70 (patch)
tree30af61986d09c1583c5dcb21f911b4e5216e4310 /src/cowboy_http.erl
parent20329a6e9e4adccb4bd3f9c3be0306aca469e3e6 (diff)
downloadcowboy-b903aca33d6bf4ea72cf1c84d515cd21aab46d70.tar.gz
cowboy-b903aca33d6bf4ea72cf1c84d515cd21aab46d70.tar.bz2
cowboy-b903aca33d6bf4ea72cf1c84d515cd21aab46d70.zip
Make cowboy_http.erl compile with +native
Worked until 27da092
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])