aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/http/agent.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure/contrib/http/agent.clj')
-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 47424e2f..806cb1af 100644
--- a/src/clojure/contrib/http/agent.clj
+++ b/src/clojure/contrib/http/agent.clj
@@ -315,7 +315,7 @@
request, or nil if the response has not yet been received."
[http-agnt]
(when (done? http-agnt)
- (.getResponseMessage #^HttpURLConnection (::connection http-agnt))))
+ (.getResponseMessage #^HttpURLConnection (::connection @http-agnt))))
(defn headers
"Returns a map of HTTP response headers. Header names are converted