summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBob Dionne <bob@cloudant.com>2012-01-27 06:29:51 -0500
committerBob Dionne <bob@cloudant.com>2012-01-27 06:29:51 -0500
commitf5913f7f4d59e8aee16468325497caf33894d3a3 (patch)
tree5b04cf25487a61ff2f27559fdf84e3eb9e86b4c0 /apps
parentb8cbeed8fb6c45fcc9f8e37807248e37ab6a543d (diff)
Whitespace
Diffstat (limited to 'apps')
-rw-r--r--apps/couch/src/couch_rep.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/couch/src/couch_rep.erl b/apps/couch/src/couch_rep.erl
index 82b69bc9..761fbd76 100644
--- a/apps/couch/src/couch_rep.erl
+++ b/apps/couch/src/couch_rep.erl
@@ -275,7 +275,7 @@ handle_info({'EXIT', _Pid, Reason}, State) ->
terminate(normal, #state{checkpoint_scheduled=nil, init_args=[RepId, _, _, Module]} = State) ->
do_terminate(State),
Module:replication_completed(RepId);
-
+
terminate(normal, #state{init_args=[RepId, _, _, Module]} = State) ->
timer:cancel(State#state.checkpoint_scheduled),
do_terminate(do_checkpoint(State)),
@@ -409,7 +409,7 @@ do_terminate(State) ->
continuous = Continuous,
source_log = #doc{body={OldHistory}}
} = State,
-
+
NewRepHistory = case CheckpointHistory of
nil ->
{[{<<"no_changes">>, true} | OldHistory]};
@@ -504,7 +504,7 @@ make_replication_id({Props}, UserCtx, 1) ->
maybe_append_filters({Props}, [HostName, Src, Tgt], UserCtx).
maybe_append_filters({Props}, Base, UserCtx) ->
- Base2 = Base ++
+ Base2 = Base ++
case couch_util:get_value(<<"filter">>, Props) of
undefined ->
case couch_util:get_value(<<"doc_ids">>, Props) of
@@ -794,7 +794,7 @@ commit_to_both(Source, Target, RequiredSeq) ->
exit(replication_link_failure)
end,
{SourceStartTime, TargetStartTime}.
-
+
ensure_full_commit(#http_db{headers = Headers} = Target) ->
Headers1 = [
{"Content-Length", 0} |