Permalink
Browse files

allows to create nodes with a specified cookie

  • Loading branch information...
videlalvaro committed Aug 18, 2010
1 parent a8dd46d commit 0e55c9083af0b596a0cf792b0aa3ddfad310c181
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/closerl/core.clj
View
@@ -90,8 +90,10 @@
(defn otp-node
"Creates an OtpNode"
- [node-name]
+ ([node-name]
(OtpNode. node-name))
+ ([node-name cookie]
+ (OtpNode. node-name cookie)))
(defn otp-ping
"Pings a remote Erlang node"

0 comments on commit 0e55c90

Please sign in to comment.