You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2012/04/26 01:03:48 UTC
git commit: Silence compiler warning
Updated Branches:
refs/heads/master c83860c62 -> bdb50bef5
Silence compiler warning
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bdb50bef
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bdb50bef
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bdb50bef
Branch: refs/heads/master
Commit: bdb50bef5de0d78e3f256e2aadda1c6013d15325
Parents: c83860c
Author: Paul Joseph Davis <da...@apache.org>
Authored: Wed Apr 25 18:03:16 2012 -0500
Committer: Paul Joseph Davis <da...@apache.org>
Committed: Wed Apr 25 18:03:16 2012 -0500
----------------------------------------------------------------------
src/couchdb/couch_httpd_rewrite.erl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/bdb50bef/src/couchdb/couch_httpd_rewrite.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_rewrite.erl b/src/couchdb/couch_httpd_rewrite.erl
index 207891a..3e97258 100644
--- a/src/couchdb/couch_httpd_rewrite.erl
+++ b/src/couchdb/couch_httpd_rewrite.erl
@@ -121,7 +121,7 @@ handle_rewrite_req(#httpd{
MaxRewritesList = couch_config:get("httpd", "rewrite_limit", "100"),
MaxRewrites = list_to_integer(MaxRewritesList),
- NRewrites = case get(couch_rewrite_count) of
+ case get(couch_rewrite_count) of
undefined ->
put(couch_rewrite_count, 1);
NumRewrites when NumRewrites < MaxRewrites ->