aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clojure/contrib/http/agent.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/http/agent.clj b/src/clojure/contrib/http/agent.clj
index ca201824..d1007475 100644
--- a/src/clojure/contrib/http/agent.clj
+++ b/src/clojure/contrib/http/agent.clj
@@ -20,7 +20,7 @@
(defn- setup-http-connection
[conn options]
(.setRequestMethod conn (:method options))
- (.setInstanceFollowRedirects (:follow-redirects options))
+ (.setInstanceFollowRedirects conn (:follow-redirects options))
(doseq [[name value] (:headers options)]
(.setRequestProperty conn name value)))