Skip to content

Commit 33605a4

Browse files
committed
error fixed for websocketsgit add .
1 parent 7ba9623 commit 33605a4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/chatb0x/websockets.clj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,11 @@
7676
;; Agent visitor handling
7777
(defn send-msg2 [client1 client2 msg]
7878
(do (if client1
79-
(println "Sending client1: " client1 msg)
80-
(send! client1 msg false))
79+
(do (println "Sending client1: " client1 msg)
80+
(send! client1 msg false)))
8181
(if client2
82-
(println "Sending client2" client2 msg)
83-
(send! client2 msg false)
84-
)))
82+
(do (println "Sending client2" client2 msg)
83+
(send! client2 msg false)))))
8584

8685
(defn msg-init [client1 client2]
8786
"Send address of opposite end to both clients"

0 commit comments

Comments
 (0)