You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2015/09/09 18:36:19 UTC

chttpd commit: updated refs/heads/master to e3f575f

Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 6b18a8e6e -> e3f575f2f


Fix usage of lists:keyreplace


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/e3f575f2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/e3f575f2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/e3f575f2

Branch: refs/heads/master
Commit: e3f575f2f91d75f62b8ba431a4f9342d4395e313
Parents: 6b18a8e
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Wed Sep 9 09:28:01 2015 -0700
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Wed Sep 9 09:28:01 2015 -0700

----------------------------------------------------------------------
 src/chttpd_config_listener.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/e3f575f2/src/chttpd_config_listener.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_config_listener.erl b/src/chttpd_config_listener.erl
index 7087b81..8506524 100644
--- a/src/chttpd_config_listener.erl
+++ b/src/chttpd_config_listener.erl
@@ -55,5 +55,5 @@ maybe_replace(Key, Value, Settings) ->
         {ok, Settings};
     _ ->
         chttpd:stop(),
-        {ok, lists:keyreplace(Key, 1, {Key, Value}, Settings)}
+        {ok, lists:keyreplace(Key, 1, Settings, {Key, Value})}
     end.