diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/couchdb/couch_config.erl | 4 | ||||
-rw-r--r-- | src/couchdb/couch_task_status.erl | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl index 9a2e739a..3270b3fd 100644 --- a/src/couchdb/couch_config.erl +++ b/src/couchdb/couch_config.erl @@ -194,9 +194,9 @@ parse_ini_file(IniFile) -> {ok, [ValueName|LineValues]} -> % yeehaw, got a line! RemainingLine = couch_util:implode(LineValues, "="), {ok, [LineValue | _Rest]} = - regexp:split(RemainingLine, " ;|\t;"), % removes comments + regexp:split(RemainingLine, " ;|\t;"), % removes comments {AccSectionName, - [{{AccSectionName, ValueName}, LineValue} | AccValues]} + [{{AccSectionName, ValueName}, LineValue} | AccValues]} end end end, {"", []}, Lines), diff --git a/src/couchdb/couch_task_status.erl b/src/couchdb/couch_task_status.erl index 1e481c7c..ff2c7bee 100644 --- a/src/couchdb/couch_task_status.erl +++ b/src/couchdb/couch_task_status.erl @@ -95,12 +95,12 @@ handle_call(all, _, Server) -> All = [ [ {type, Type}, - {task, Task}, - {status, Status}, - {pid, ?l2b(pid_to_list(Pid))} + {task, Task}, + {status, Status}, + {pid, ?l2b(pid_to_list(Pid))} ] || - {Pid, {Type, Task, Status}} <- ets:tab2list(?MODULE) + {Pid, {Type, Task, Status}} <- ets:tab2list(?MODULE) ], {reply, All, Server}. |