Skip to content

Commit

Permalink
get_env now works for all values
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Wiger committed Apr 1, 2011
1 parent 166a81e commit 107dd26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unsplit_server.erl
Expand Up @@ -341,8 +341,8 @@ get_env(K, Default) ->
Default;
{ok, undefined} ->
Default;
{ok, {_,_} = Meth} ->
Meth
{ok, Value} ->
Value
end.

get_method(T, Def) ->
Expand Down

0 comments on commit 107dd26

Please sign in to comment.