From b903aca33d6bf4ea72cf1c84d515cd21aab46d70 Mon Sep 17 00:00:00 2001 From: Adam Cammack Date: Sat, 9 Feb 2013 15:32:13 -0600 Subject: Make cowboy_http.erl compile with +native Worked until 27da092 --- src/cowboy_http.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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]) -- cgit v1.2.3