Skip to content

Commit

Permalink
tweak formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cemerick committed Mar 24, 2012
1 parent 4f1caf3 commit 2c514f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/clojure/clojure/tools/nrepl/server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
Returns a handle to the server that is started, which may be stopped
either via `stop-server`, (.close server), or automatically via `with-open`."
[& {:keys [port bind transport-fn handler ack-port greeting-fn] :or {port 0}}]
(let [bind-addr (if (nil? bind) (InetSocketAddress. port) (InetSocketAddress. bind port))
ss (ServerSocket. port 0 (.getAddress bind-addr))
(let [bind-addr (if bind (InetSocketAddress. bind port) (InetSocketAddress. port))
ss (ServerSocket. port 0 (.getAddress bind-addr))
smap {:ss ss
:transport (or transport-fn t/bencode)
:greeting greeting-fn
Expand Down

0 comments on commit 2c514f6

Please sign in to comment.