summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenoitc <bchesneau@gmail.com>2014-02-16 13:42:38 +0100
committerbenoitc <bchesneau@gmail.com>2014-02-16 13:44:52 +0100
commit2625c34b72bfdb19a96354e2bca142c263a8f610 (patch)
treed7813a01b4e917bd4775d6d93916d19c69a963ec
parentaed283fd79f7d3e90b1c7339aa2bba30da296864 (diff)
downloadcouchdb-2625c34b72bfdb19a96354e2bca142c263a8f610.tar.gz
fix undefined Req
-rw-r--r--src/couch_dbupdates/src/couch_dbupdates_httpd.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_dbupdates/src/couch_dbupdates_httpd.erl b/src/couch_dbupdates/src/couch_dbupdates_httpd.erl
index afd99a5d5..3656fc250 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}) ->