Remove the wrap-apply surrounding websocket-client-loop in <websocket-server>
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 8 Aug 2017 20:26:15 +0000 (15:26 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 8 Aug 2017 20:26:15 +0000 (15:26 -0500)
* 8sync/systems/websocket/server.scm (<websocket-server>):
Remove the wrap-apply surrounding websocket-client-loop in <websocket-server>'s
upgrade-paths slot.

8sync/systems/websocket/server.scm

index 81c9244bcfdca42cfe96fae2e10036da12a4bde7..47510672b4ebcc7ef84266000ff49e25a1bb10f4 100644 (file)
@@ -68,8 +68,7 @@ string."
 
 (define-actor <websocket-server> (<web-server>)
   ((ws-send websocket-server-send))
-  (upgrade-paths #:init-value `(("websocket" .
-                                 ,(wrap-apply websocket-client-loop)))
+  (upgrade-paths #:init-value `(("websocket" . ,websocket-client-loop))
                  #:allocation #:each-subclass
                  #:accessor .upgrade-paths)