You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2014/01/07 01:37:17 UTC
[57/57] [abbrv] git commit: updated refs/heads/1994-merge-rcouch to
868a284
fix couch_dbupdates warning
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/868a2849
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/868a2849
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/868a2849
Branch: refs/heads/1994-merge-rcouch
Commit: 868a284921bf5ba68cf3e7e7023b17ce86b164b5
Parents: 07ae826
Author: Benoit Chesneau <be...@apache.org>
Authored: Tue Jan 7 00:36:51 2014 +0100
Committer: Benoit Chesneau <be...@apache.org>
Committed: Tue Jan 7 00:36:51 2014 +0100
----------------------------------------------------------------------
apps/couch_dbupdates/src/couch_dbupdates_httpd.erl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/868a2849/apps/couch_dbupdates/src/couch_dbupdates_httpd.erl
----------------------------------------------------------------------
diff --git a/apps/couch_dbupdates/src/couch_dbupdates_httpd.erl b/apps/couch_dbupdates/src/couch_dbupdates_httpd.erl
index ec0c4d6..09f1104 100644
--- a/apps/couch_dbupdates/src/couch_dbupdates_httpd.erl
+++ b/apps/couch_dbupdates/src/couch_dbupdates_httpd.erl
@@ -37,9 +37,9 @@ handle_req(#httpd{method='GET'}=Req) ->
State = #state{resp=Resp, feed=Feed},
couch_dbupdates:handle_dbupdates(fun handle_update/2,
- State, Options).
+ State, Options);
-handle_req(Req, _Db) ->
+handle_req(Req) ->
couch_httpd:send_method_not_allowed(Req, "GET").
handle_update(stop, #state{resp=Resp}) ->