Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
bitdiddle committed Mar 12, 2012
1 parent a2bea1f commit 8c42853
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/couchdb/couch_doc.erl
Expand Up @@ -62,8 +62,8 @@ revid_to_str(RevId) ->

rev_to_str({Pos, RevId}) ->
?l2b([integer_to_list(Pos),"-",revid_to_str(RevId)]).


revs_to_strs([]) ->
[];
revs_to_strs([{Pos, RevId}| Rest]) ->
Expand Down Expand Up @@ -423,7 +423,7 @@ merge_stubs(#doc{id=Id,atts=MemBins}=StubsDoc, #doc{atts=DiskBins}) ->
MergedBins = lists:map(
fun(#att{name=Name, data=stub, revpos=StubRevPos}) ->
case dict:find(Name, BinDict) of
{ok, #att{revpos=DiskRevPos}=DiskAtt}
{ok, #att{revpos=DiskRevPos}=DiskAtt}
when DiskRevPos == StubRevPos orelse StubRevPos == nil ->
DiskAtt;
_ ->
Expand Down Expand Up @@ -517,7 +517,7 @@ doc_from_multi_part_stream(ContentType, DataFun) ->
end),
Ref = make_ref(),
Parser ! {get_doc_bytes, Ref, self()},
receive
receive
{doc_bytes, Ref, DocBytes} ->
Doc = from_json_obj(?JSON_DECODE(DocBytes)),
% go through the attachments looking for 'follows' in the data,
Expand Down

0 comments on commit 8c42853

Please sign in to comment.