make sure nil is not passed to socket-bind now that sbcl type-checks
the arguments
This commit is contained in:
parent
59c32ec6b5
commit
95e8643778
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@
|
|||
(if (not (device-active-p transmitter))
|
||||
(progn
|
||||
(let ((socket (make-socket (protocol transmitter))))
|
||||
(socket-bind socket #(127 0 0 1) port)
|
||||
(if port
|
||||
(socket-bind socket #(127 0 0 1) port)
|
||||
(socket-bind socket))
|
||||
(socket-connect socket host-address host-port)
|
||||
(socket-make-stream socket
|
||||
:input nil :output t
|
||||
|
|
Loading…
Reference in a new issue