You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/08 11:38:49 UTC

couch commit: updated refs/heads/windsor-merge to c9b4da2

Repository: couchdb-couch
Updated Branches:
  refs/heads/windsor-merge f5d8c8dbd -> c9b4da2ab


squash! Move attachment code into couch_att


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/c9b4da2a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/c9b4da2a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/c9b4da2a

Branch: refs/heads/windsor-merge
Commit: c9b4da2ab35fb8dd5c199e8a964e2b45783efe83
Parents: f5d8c8d
Author: Robert Newson <rn...@apache.org>
Authored: Fri Aug 8 10:38:39 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Fri Aug 8 10:38:39 2014 +0100

----------------------------------------------------------------------
 src/couch_httpd_db.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/c9b4da2a/src/couch_httpd_db.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_db.erl b/src/couch_httpd_db.erl
index de7c046..77d8788 100644
--- a/src/couch_httpd_db.erl
+++ b/src/couch_httpd_db.erl
@@ -887,9 +887,9 @@ db_attachment_req(#httpd{method='GET',mochi_req=MochiReq}=Req, Db, DocId, FileNa
         end,
         AttFun = case ReqAcceptsAttEnc of
         false ->
-            fun couch_doc:att_foldl_decode/3;
+            fun couch_att:foldl_decode/3;
         true ->
-            fun couch_doc:att_foldl/3
+            fun couch_att:foldl/3
         end,
         couch_httpd:etag_respond(
             Req,