aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-11-24 21:32:27 +0100
committerLoïc Hoguin <[email protected]>2011-11-24 21:32:27 +0100
commitf1c94c40f8c49c306a9d63f44f27c3fc0c009244 (patch)
tree724038cd3af16bf7a1a85c670d5083f3fac594fd
parenta5b47fda8de7972c9affb4f4d1320fb666c67a92 (diff)
downloadcowboy-f1c94c40f8c49c306a9d63f44f27c3fc0c009244.tar.gz
cowboy-f1c94c40f8c49c306a9d63f44f27c3fc0c009244.tar.bz2
cowboy-f1c94c40f8c49c306a9d63f44f27c3fc0c009244.zip
Fix specs for cowboy_http:language_range_ret/3
-rw-r--r--src/cowboy_http.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 6454521..246a672 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -221,7 +221,7 @@ language_range(Data, Fun) ->
language_range_ret(Rest, Fun, LanguageTag)
end).
--spec language_range_ret(binary(), fun(), '*' | {binary(), binary()}) -> any().
+-spec language_range_ret(binary(), fun(), '*' | {binary(), [binary()]}) -> any().
language_range_ret(Data, Fun, LanguageTag) ->
maybe_qparam(Data,
fun (Rest, Quality) ->