Permalink
Browse files

Remove a '++' use when replying

  • Loading branch information...
1 parent 3c10d54 commit e30c6debdce4a0c343519199d39e94a616b1a1c7 @essen essen committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cowboy_req.erl
View
@@ -1107,7 +1107,7 @@ merge_headers(Headers, []) ->
merge_headers(Headers, [{Name, Value}|Tail]) ->
Headers2 = case lists:keymember(Name, 1, Headers) of
true -> Headers;
- false -> Headers ++ [{Name, Value}]
+ false -> [{Name, Value}|Headers]
end,
merge_headers(Headers2, Tail).

0 comments on commit e30c6de

Please sign in to comment.