summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_config.erl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-01-12 10:27:21 +0000
committerJan Lehnardt <jan@apache.org>2009-01-12 10:27:21 +0000
commitd51618067f7d2fcb8fa751ddb89e4c9693d0b52c (patch)
treef2e61715c2cecefa8b4ebe02140a63b2361c6694 /src/couchdb/couch_config.erl
parentf5e38acc625d4bb73934e121a9d6abb75e507460 (diff)
Fix Whitespace
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_config.erl')
-rw-r--r--src/couchdb/couch_config.erl4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl
index d989b31d..50768ac8 100644
--- a/src/couchdb/couch_config.erl
+++ b/src/couchdb/couch_config.erl
@@ -40,7 +40,6 @@ start_link(IniFiles) ->
all() ->
lists:sort(ets:tab2list(?MODULE)).
-
get(Section) when is_binary(Section) ->
?MODULE:get(?b2l(Section));
get(Section) ->
@@ -111,8 +110,6 @@ handle_call({register, Fun, Pid}, _From, #config{notify_funs=PidFuns}=Config) ->
Fun
end,
{reply, ok, Config#config{notify_funs=[{Pid, Fun2}|PidFuns]}}.
-
-
%% @spec load_ini_file(IniFile::filename()) -> ok
%% @doc Parses an ini file and stores Key/Value Pairs into the ets table.
@@ -163,7 +160,6 @@ load_ini_file(IniFile) ->
%% @doc Unused
handle_cast(foo, State) -> {noreply, State}.
-
handle_info({'DOWN', _, _, DownPid, _}, #config{notify_funs=PidFuns}=Config) ->
% remove any funs registered by the downed process
FilteredPidFuns = [{Pid,Fun} || {Pid,Fun} <- PidFuns, Pid /= DownPid],