Skip to content

Commit

Permalink
Fix #324: modify comment to match code
Browse files Browse the repository at this point in the history
  • Loading branch information
vinoski committed Mar 19, 2018
1 parent d5f01d8 commit fc2f3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yaws_api.erl
Expand Up @@ -2523,7 +2523,7 @@ filter_parse(Key, QueryParse, PostParse) ->
case Values of
[] -> undefined;
[{_, V}] -> {ok,V};
%% Multivalued case - return list of values
%% Multivalued case - return a list of values as a tuple
_ -> list_to_tuple(lists:map(fun({_,V}) -> V end, Values))
end.

Expand Down

0 comments on commit fc2f3ad

Please sign in to comment.