Permalink
Browse files

Fix pull replication. Patch by Randall Leeds.

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918657 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent e13a88b commit 64a26da1b21c9757ba2aba31ba5bd2e354fc83e1 @janl janl committed Mar 3, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/couchdb/couch_rep_att.erl
@@ -25,11 +25,7 @@ convert_stub(#att{data=stub, name=Name} = Attachment,
qs = [{rev, couch_doc:rev_to_str({Pos,RevId})}]
},
Ref = make_ref(),
- RcvFun = fun() ->
- Bin = attachment_receiver(Ref, Request),
- cleanup(),
- Bin
- end,
+ RcvFun = fun() -> attachment_receiver(Ref, Request) end,
Attachment#att{data=RcvFun}.
cleanup() ->

0 comments on commit 64a26da

Please sign in to comment.