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 050cbc6
Date Fri, 13 Jun 2014 15:39:19 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master c6de373f8 -> 050cbc6ad


Fix badmatch


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

Branch: refs/heads/master
Commit: 050cbc6add175f83cf5ac94dc82ccf3a65dc0a26
Parents: c6de373
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Jun 13 16:39:10 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Jun 13 16:39:10 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/050cbc6a/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 6ffe9e4..7060d02 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -402,7 +402,7 @@ db_req(#httpd{method='POST',path_parts=[_,<<"_all_docs">>]}=Req,
Db) ->
     Keys when is_list(Keys) ->
         all_docs_view(Req, Db, Keys);
     nil ->
-        all_docs_view(Req, Db, nil);
+        all_docs_view(Req, Db, undefined);
     _ ->
         throw({bad_request, "`keys` body member must be an array."})
     end;


Mime
View raw message