aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-06-20 18:44:36 +0200
committerLoïc Hoguin <[email protected]>2013-06-20 18:44:36 +0200
commit9eaee45c090b9cb170554bc7e09d679bc0598716 (patch)
tree7d936b91b50da46cce51a760d727394f735f3ef6
parent0529f85492a9542f2e18d20bbe24496d6a7bc60b (diff)
downloadcowboy-9eaee45c090b9cb170554bc7e09d679bc0598716.tar.gz
cowboy-9eaee45c090b9cb170554bc7e09d679bc0598716.tar.bz2
cowboy-9eaee45c090b9cb170554bc7e09d679bc0598716.zip
Fix compilation < R16B010.8.6
-rw-r--r--src/cowboy_websocket.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_websocket.erl b/src/cowboy_websocket.erl
index 1df32c9..df50162 100644
--- a/src/cowboy_websocket.erl
+++ b/src/cowboy_websocket.erl
@@ -21,7 +21,7 @@
%% Ignore the deprecation warning for crypto:sha/1.
%% @todo Remove when we support only R16B+.
--compile({nowarn_deprecated_function, {crypto, sha, 1}}).
+-compile(nowarn_deprecated_function).
%% API.
-export([upgrade/4]).