couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/master to e3f575f
Date Wed, 09 Sep 2015 16:36:19 GMT
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 <iilyak@ca.ibm.com>
Authored: Wed Sep 9 09:28:01 2015 -0700
Committer: ILYA Khlopotov <iilyak@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.


Mime
View raw message