fix undefined Req

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

Branch: refs/heads/2041-update-ibrowse
Commit: 2625c34b72bfdb19a96354e2bca142c263a8f610
Parents: aed283f
Author: Benoit Chesneau <[email protected]>
Authored: Sun Feb 16 13:42:38 2014 +0100
Committer: Benoit Chesneau <[email protected]>
Committed: Sun Feb 16 13:44:52 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/2625c34b/src/couch_dbupdates/src/couch_dbupdates_httpd.erl
----------------------------------------------------------------------
diff --git a/src/couch_dbupdates/src/couch_dbupdates_httpd.erl 
b/src/couch_dbupdates/src/couch_dbupdates_httpd.erl
index afd99a5..3656fc2 100644
--- a/src/couch_dbupdates/src/couch_dbupdates_httpd.erl
+++ b/src/couch_dbupdates/src/couch_dbupdates_httpd.erl
@@ -39,7 +39,7 @@ handle_req(#httpd{method='GET'}=Req) ->
     couch_dbupdates:handle_dbupdates(fun handle_update/2,
                                      State, Options);
 
-handle_req(_Req) ->
+handle_req(Req) ->
     couch_httpd:send_method_not_allowed(Req, "GET").
 
 handle_update(stop, #state{resp=Resp}) ->

Reply via email to