couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/2] couchdb-global-changes git commit: Use `chttpd:qs*` instead of `couch_httpd:qs*`
Date Wed, 29 Jul 2015 15:21:54 GMT
Repository: couchdb-global-changes
Updated Branches:
  refs/heads/master ad5bbfedc -> 64ff86c60


Use `chttpd:qs*` instead of `couch_httpd:qs*`


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

Branch: refs/heads/master
Commit: aa3df32b2dc38b58f0e479c091c647a5780a2f1a
Parents: d9f4803
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Thu Jul 23 13:12:22 2015 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Thu Jul 23 13:12:22 2015 -0700

----------------------------------------------------------------------
 src/global_changes_httpd.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-global-changes/blob/aa3df32b/src/global_changes_httpd.erl
----------------------------------------------------------------------
diff --git a/src/global_changes_httpd.erl b/src/global_changes_httpd.erl
index dc7c08a..1ab36a2 100644
--- a/src/global_changes_httpd.erl
+++ b/src/global_changes_httpd.erl
@@ -29,7 +29,7 @@
 
 handle_global_changes_req(#httpd{method='GET'}=Req) ->
     Db = global_changes_util:get_dbname(),
-    Feed = couch_httpd:qs_value(Req, "feed", "normal"),
+    Feed = chttpd:qs_value(Req, "feed", "normal"),
     Options = parse_global_changes_query(Req),
     Heartbeat = case lists:keyfind(heartbeat, 1, Options) of
         {heartbeat, true} -> 60000;
@@ -225,7 +225,7 @@ parse_global_changes_query(Req) ->
         _Else -> % unknown key value pair, ignore.
             Args
         end
-    end, [], couch_httpd:qs(Req)).
+    end, [], chttpd:qs(Req)).
 
 
 to_non_neg_int(Value) ->


Mime
View raw message