summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_rep_reader.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb/couch_rep_reader.erl')
-rw-r--r--src/couchdb/couch_rep_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_reader.erl b/src/couchdb/couch_rep_reader.erl
index 7f061500..a66454c8 100644
--- a/src/couchdb/couch_rep_reader.erl
+++ b/src/couchdb/couch_rep_reader.erl
@@ -218,7 +218,7 @@ open_doc_revs(#http_db{} = DbS, DocId, Revs) ->
BaseLength = length(couch_rep_httpc:full_url(BaseReq)) + 11, % &open_revs=
{RevLists, _, _} = lists:foldl(fun split_revlist/2,
- {[[]], BaseLength, BaseLength}, couch_doc:rev_to_strs(Revs)),
+ {[[]], BaseLength, BaseLength}, couch_doc:revs_to_strs(Revs)),
Requests = [BaseReq#http_db{
qs = [{open_revs, ?JSON_ENCODE(RevList)} | BaseQS]