0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

Make cowboy_http.erl compile with +native

Worked until 27da092
This commit is contained in:
Adam Cammack 2013-02-09 15:32:13 -06:00
parent 20329a6e9e
commit b903aca33d

View file

@ -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])