aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2009-07-05 15:25:47 -0400
committerStuart Sierra <mail@stuartsierra.com>2009-07-05 15:25:47 -0400
commit72ab9cee502eabbff71f1e60e9a1ae44daf9bab7 (patch)
tree901de76604a22a4abc877c13df1beede2ea5aa7a /src/clojure/contrib
parentd6e7b65cdc0b9432b0b13215ac5ccf2e2ef81631 (diff)
http/agent.clj: fix setInstanceFollowRedirects error
Diffstat (limited to 'src/clojure/contrib')
-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)))