summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-06-14 17:17:43 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-06-14 17:17:43 -0400
commit68b5a1ffe4913601e7469e3e1017d663d4d06ea8 (patch)
treeef5f9f690c6ef23f54c74c86a6939a971baee832 /src
parentec60d8d7f8dc709fd0ef0f33c26d7834af32f96a (diff)
minor updates to _changes code
Diffstat (limited to 'src')
-rw-r--r--src/fabric_rpc.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 51cc31a3..da4a9b8c 100644
--- a/src/fabric_rpc.erl
+++ b/src/fabric_rpc.erl
@@ -44,12 +44,12 @@ all_docs(DbName, #view_query_args{keys=nil} = QueryArgs) ->
final_response(Total, Acc#view_acc.offset).
changes(DbName, Args0, StartSeq) ->
- #changes_args{style=Style, dir=Dir, filter=FilterName} = Args0,
+ #changes_args{style=Style, dir=Dir} = Args0,
case couch_db:open(DbName, []) of
{ok, Db} ->
% couch code has a MochiReq for 2nd argument, ick
Args = Args0#changes_args{
- filter = couch_changes:make_filter_fun(FilterName, nil, Db)
+ filter = couch_changes:make_filter_fun(Args0, nil, Db)
},
Enum = fun changes_enumerator/2,
Opts = [{dir,Dir}],