diff options
author | Loïc Hoguin <[email protected]> | 2013-05-15 14:49:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-15 14:49:09 +0200 |
commit | ce7981deb3eca9e53aa41691ab03409b99861048 (patch) | |
tree | 1d6622ad968461e1e30093c16cb403b5131920fe /src/cowboy_sub_protocol.erl | |
parent | bf2b8181ccd5f89a8355087412cf8db08f3b32ce (diff) | |
download | cowboy-ce7981deb3eca9e53aa41691ab03409b99861048.tar.gz cowboy-ce7981deb3eca9e53aa41691ab03409b99861048.tar.bz2 cowboy-ce7981deb3eca9e53aa41691ab03409b99861048.zip |
Fix incorrect spec for the middleware callback
Diffstat (limited to 'src/cowboy_sub_protocol.erl')
-rw-r--r-- | src/cowboy_sub_protocol.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_sub_protocol.erl b/src/cowboy_sub_protocol.erl index 0b231d3..babc6f2 100644 --- a/src/cowboy_sub_protocol.erl +++ b/src/cowboy_sub_protocol.erl @@ -31,7 +31,7 @@ -callback upgrade(Req, Env, module(), any()) -> {ok, Req, Env} - | {suspend, module(), atom(), any()} + | {suspend, module(), atom(), [any()]} | {halt, Req} | {error, cowboy_http:status(), Req} when Req::cowboy_req:req(), Env::cowboy_middleware:env(). |