Skip to content

Commit

Permalink
Bugfix revproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
oliv3 committed Jun 12, 2009
1 parent eedaca5 commit 08e2531
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/yaws_stats.erl
Expand Up @@ -155,4 +155,10 @@ code_change(_OldVsn, State, _Extra) ->
%%% Internal functions
%%--------------------------------------------------------------------
get_stats() ->
(erlang:get(sc))#sconf.stats.
SC = erlang:get(sc),
case SC of
undefined ->
undefined;
SC ->
SC#sconf.stats
end.

0 comments on commit 08e2531

Please sign in to comment.