Permalink
Browse files

removed q, changed _unzip to _decode

  • Loading branch information...
1 parent da1a365 commit 62e053d4d9d168829c8c7d108949122f03cc62fd Soren Hilmer committed with Chris Anderson Sep 18, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 hovercraft.erl
View
@@ -143,7 +143,7 @@ start_attachment(DbName, DocId, AName) ->
{ok, Pid}.
%%--------------------------------------------------------------------
-q%% Function: next_attachment_bytes(Pid) -> {ok, done} | {error,Error}
+%% Function: next_attachment_bytes(Pid) -> {ok, done} | {error,Error}
%% Description: Fetch attachment bytes
%%--------------------------------------------------------------------
next_attachment_bytes(Pid) ->
@@ -317,7 +317,7 @@ attachment_streamer(DbName, DocId, AName) ->
throw({not_found, "Document is missing attachment"});
[Rec] when is_record(Rec, att) ->
Me = self(),
- couch_doc:att_foldl_unzip(Rec,
+ couch_doc:att_foldl_decode(Rec,
fun(Bins, []) ->
BinSegment = list_to_binary(Bins),
receive

0 comments on commit 62e053d

Please sign in to comment.