summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_rep_httpc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_httpc.erl b/src/couchdb/couch_rep_httpc.erl
index 768d88a3..b5113f64 100644
--- a/src/couchdb/couch_rep_httpc.erl
+++ b/src/couchdb/couch_rep_httpc.erl
@@ -140,7 +140,7 @@ process_response({ok, Status, Headers, Body}, Req) ->
do_request(redirected_request(Req, RedirectUrl));
Code =:= 409 ->
throw(conflict);
- Code >= 400, Code < 500 ->
+ Code >= 400, Code =< 500 ->
?JSON_DECODE(maybe_decompress(Headers, Body));
Code =:= 500; Code =:= 502; Code =:= 503 ->
#http_db{pause = Pause, retries = Retries} = Req,