Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Jan 31, 2012
1 parent f199c33 commit db23528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/couch/src/couch_rep_writer.erl
Expand Up @@ -128,7 +128,7 @@ write_multi_part_doc(#http_db{headers=Headers} = Db, #doc{atts=Atts} = Doc) ->
},
Conn = couch_rep_httpc:spawn_link_worker_process(Request),
Result = try
case couch_rep_httpc:request(Request) of
case couch_rep_httpc:request(Request#http_db{conn=Conn}) of
{[{<<"error">>, Error}, {<<"reason">>, Reason}]} ->
{Pos, [RevId | _]} = Doc#doc.revs,
ErrId = couch_util:to_existing_atom(Error),
Expand Down

0 comments on commit db23528

Please sign in to comment.