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 2014/08/01 11:06:06 UTC

[30/49] chttpd commit: updated refs/heads/windsor-merge to 554ef74

Fix case_clause error with POST to _replicate

We were matching without specifying a default value. Rather than end up
causing other errors we just match on false and default true for all
other values.

BugzId: 24355


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

Branch: refs/heads/windsor-merge
Commit: 1cc0ae3abad982e2d5ae48ee92e7784d30eedf82
Parents: 5d50b2b
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Oct 21 23:57:37 2013 -0500
Committer: Robert Newson <rn...@apache.org>
Committed: Wed Jul 30 11:17:44 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/1cc0ae3a/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index f4a643c..a2719fd 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -174,7 +174,7 @@ replicate({Props} = PostBody, Ctx) ->
     case couch_util:get_value(<<"cancel">>, Props) of
     true ->
         cancel_replication(PostBody, Ctx);
-    false ->
+    _ ->
         Node = choose_node([
             couch_util:get_value(<<"source">>, Props),
             couch_util:get_value(<<"target">>, Props)