couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r918658 - /couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl
Date Wed, 03 Mar 2010 19:40:33 GMT
Author: jan
Date: Wed Mar  3 19:40:33 2010
New Revision: 918658

URL: http://svn.apache.org/viewvc?rev=918658&view=rev
Log:
Fix pull replication. Patch by Randall Leeds.

Modified:
    couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl

Modified: couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl
URL: http://svn.apache.org/viewvc/couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl?rev=918658&r1=918657&r2=918658&view=diff
==============================================================================
--- couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl (original)
+++ couchdb/branches/0.11.x/src/couchdb/couch_rep_att.erl Wed Mar  3 19:40:33 2010
@@ -25,11 +25,7 @@
         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() ->



Mime
View raw message