diff options
author | Loïc Hoguin <[email protected]> | 2014-12-16 08:52:19 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2014-12-16 08:52:19 +0200 |
commit | 96c69fb04eb55d627849c5120081462b6ca81893 (patch) | |
tree | ed613cac0bb9bf95d349dec0a7814c48625dca06 /src | |
parent | 6581c2e808e0b57ba4e8389c2126779bc43ada0a (diff) | |
download | cowlib-96c69fb04eb55d627849c5120081462b6ca81893.tar.gz cowlib-96c69fb04eb55d627849c5120081462b6ca81893.tar.bz2 cowlib-96c69fb04eb55d627849c5120081462b6ca81893.zip |
Fix a shadow var warning in a property
Diffstat (limited to 'src')
-rw-r--r-- | src/cow_http_hd.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl index 1672d2a..23d627b 100644 --- a/src/cow_http_hd.erl +++ b/src/cow_http_hd.erl @@ -436,9 +436,9 @@ prop_parse_accept_charset() -> << _, AcceptCharset/binary >> = iolist_to_binary([[$,, A] || {_, _, A} <- L]), ResL = parse_accept_charset(AcceptCharset), CheckedL = [begin - ResC =:= ?INLINE_LOWERCASE_BC(C) + ResC =:= ?INLINE_LOWERCASE_BC(Ch) andalso (ResW =:= W orelse (W =:= undefined andalso ResW =:= 1000)) - end || {{C, W, _}, {ResC, ResW}} <- lists:zip(L, ResL)], + end || {{Ch, W, _}, {ResC, ResW}} <- lists:zip(L, ResL)], [true] =:= lists:usort(CheckedL) end). |