summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_rep_httpc.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <kocolosk@apache.org>2009-11-21 13:43:43 +0000
committerAdam Kocoloski <kocolosk@apache.org>2009-11-21 13:43:43 +0000
commitaef9dbd3a6cbb85085023d3c8565740e09fd6a77 (patch)
tree7ee342a14f36f7a21b2249b832c9700f082d55b6 /src/couchdb/couch_rep_httpc.erl
parent9c97bb531ed9b5d6fc18fcef87a6742514e984d5 (diff)
code improvements from tidier. Patch by Kostis Sagonas. COUCHDB-570
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@882903 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_httpc.erl')
-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 60d44cab..4944f554 100644
--- a/src/couchdb/couch_rep_httpc.erl
+++ b/src/couchdb/couch_rep_httpc.erl
@@ -17,7 +17,7 @@
-export([db_exists/1, db_exists/2, full_url/1, request/1, redirected_request/2,
spawn_worker_process/1, spawn_link_worker_process/1]).
-request(Req) when is_record(Req, http_db) ->
+request(#http_db{} = Req) ->
do_request(Req).
do_request(#http_db{url=Url} = Req) when is_binary(Url) ->