Skip to content

Commit 62e053d

Browse files
Soren HilmerChris Anderson
authored andcommitted
removed q, changed _unzip to _decode
1 parent da1a365 commit 62e053d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hovercraft.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ start_attachment(DbName, DocId, AName) ->
143143
{ok, Pid}.
144144

145145
%%--------------------------------------------------------------------
146-
q%% Function: next_attachment_bytes(Pid) -> {ok, done} | {error,Error}
146+
%% Function: next_attachment_bytes(Pid) -> {ok, done} | {error,Error}
147147
%% Description: Fetch attachment bytes
148148
%%--------------------------------------------------------------------
149149
next_attachment_bytes(Pid) ->
@@ -317,7 +317,7 @@ attachment_streamer(DbName, DocId, AName) ->
317317
throw({not_found, "Document is missing attachment"});
318318
[Rec] when is_record(Rec, att) ->
319319
Me = self(),
320-
couch_doc:att_foldl_unzip(Rec,
320+
couch_doc:att_foldl_decode(Rec,
321321
fun(Bins, []) ->
322322
BinSegment = list_to_binary(Bins),
323323
receive

0 commit comments

Comments
 (0)