summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2011-09-15 20:31:45 -0500
committerDavid Barksdale <amatus.amongus@gmail.com>2011-09-15 20:31:45 -0500
commitd7e77c11a91ba5d5b05d5ca772e8794b4f0846b9 (patch)
tree5b66dcbfd9e549bd589515e9351f1669b1dcac43 /src
parent05ecefa0e8bbe159fe2be78b5e9332dfb888de23 (diff)
Fix call to selection-key callback.
Diffstat (limited to 'src')
-rw-r--r--src/main/clojure/org/gnu/clojure/gnunet/peer.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/clojure/org/gnu/clojure/gnunet/peer.clj b/src/main/clojure/org/gnu/clojure/gnunet/peer.clj
index 45398d8..204cd2b 100644
--- a/src/main/clojure/org/gnu/clojure/gnunet/peer.clj
+++ b/src/main/clojure/org/gnu/clojure/gnunet/peer.clj
@@ -128,7 +128,7 @@
(.select selector)
(let [selected-keys (.selectedKeys selector)]
(doseq [selection-key selected-keys]
- ((.attachment selection-key) selection-key))
+ ((.attachment selection-key)))
(.clear selected-keys))
(recur selector callbacks))