Permalink
Browse files

Patch from Nico Kruber to fix compile issue on OTP R13

  • Loading branch information...
1 parent afdddab commit 9efbaad3c12c1a0358c71b1836ccbb113625d86d @klacke committed Jun 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/yaws_config.erl
View
@@ -934,8 +934,8 @@ fload(FD, server, GC, C, Cs, Lno, Chars) ->
["deflate", '=', Bool] ->
case is_bool(Bool) of
{true, Val} ->
- C2 = ?sc_set_deflate(C#sconf{deflate_options=#deflate{}},
- Val),
+ C1 = C#sconf{deflate_options=#deflate{}},
+ C2 = ?sc_set_deflate(C1, Val),
fload(FD, server, GC, C2, Cs, Lno+1, Next);
false ->
{error, ?F("Expect true|false at line ~w", [Lno])}

0 comments on commit 9efbaad

Please sign in to comment.