summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-09-12 11:33:56 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-09-12 11:33:56 +0000
commitc5b424d3415200a427d528d27d9c14fbfd810320 (patch)
tree947c293de6a002c50d7d042deef7a645655302f6
parent227a14e02111025211e6cb37f3fcc549b9920c41 (diff)
Fix previous revision (module prefix not included)
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@996293 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/couchdb/couch_rep_changes_feed.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_changes_feed.erl b/src/couchdb/couch_rep_changes_feed.erl
index 83c0e1ac..c67d4948 100644
--- a/src/couchdb/couch_rep_changes_feed.erl
+++ b/src/couchdb/couch_rep_changes_feed.erl
@@ -94,7 +94,7 @@ init([_Parent, #http_db{}=Source, Since, PostProps] = Args) ->
{ok, #state{conn=Pid, last_seq=Since, reqid=ReqId, init_args=Args}};
{ibrowse_async_headers, ReqId, Code, Hdrs} when Code=="301"; Code=="302" ->
catch ibrowse:stop_worker_process(Pid),
- Url2 = redirect_url(Hdrs, Req#http_db.url),
+ Url2 = couch_rep_httpc:redirect_url(Hdrs, Req#http_db.url),
%% TODO use couch_httpc:request instead of start_http_request
{Pid2, ReqId2} = start_http_request(Url2),
receive {ibrowse_async_headers, ReqId2, "200", _} ->