From e2b5c21443a53b3bc98c90e41b8ccf08d5731db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sat, 12 Jul 2014 14:19:29 +0200 Subject: Drop R15 support --- src/cowboy_static.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cowboy_static.erl') diff --git a/src/cowboy_static.erl b/src/cowboy_static.erl index d10ee87..fae4568 100644 --- a/src/cowboy_static.erl +++ b/src/cowboy_static.erl @@ -264,8 +264,7 @@ generate_etag(Req, State={Path, {ok, #file_info{size=Size, mtime=Mtime}}, end. generate_default_etag(Size, Mtime) -> - {strong, list_to_binary(integer_to_list( - erlang:phash2({Size, Mtime}, 16#ffffffff)))}. + {strong, integer_to_binary(erlang:phash2({Size, Mtime}, 16#ffffffff))}. %% Return the time of last modification of the file. -- cgit v1.2.3