Permalink
Browse files

Permit non-numeric port number in websocket-server

This makes it possible to specify t for port, and let the system pick a
free listening port.
  • Loading branch information...
legoscia committed Dec 28, 2013
1 parent ee77972 commit 97b7418dae7575f92fedcea0455acafff32bb381
Showing with 1 addition and 1 deletion.
  1. +1 −1 websocket.el
View
@@ -794,7 +794,7 @@ in the websocket client function `websocket-open'. Returns the
connection, which should be kept in order to pass to
`websocket-server-close'."
(let* ((conn (make-network-process
- :name (format "websocket server on port %d" port)
+ :name (format "websocket server on port %s" port)
:server t
:family 'ipv4
:filter 'websocket-server-filter

0 comments on commit 97b7418

Please sign in to comment.